/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($memberId, $id) { if ($this->checkProjectOwner($id) == false) { return ['error' => 'Acesso Negado']; } $this->service->removeMember($memberId); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($membersId) { $this->service->removeMember($membersId); }