/**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     if ($this->service->checkProjectPermissions($id) == false) {
         return ['error' => 'Access Forbidden'];
     }
     return $this->service->deleteFile($id);
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id, $fileId)
 {
     return $this->service->deleteFile($id, $fileId);
 }
 public function destroy($idProject, $idFile)
 {
     return $this->service->deleteFile($idProject, $idFile);
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param $project_id
  * @param $file_id
  * @return \Illuminate\Http\Response
  * @internal param int $id
  */
 public function destroy($project_id, $file_id)
 {
     return $this->service->deleteFile($project_id, $file_id);
 }