/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $retorno = $this->service->delete($id); if ($retorno === true) { return 'Deletado'; } else { return $retorno; } }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { $this->service->delete($id); }
/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { // Client::find($id)->delete(); return $this->service->delete($id); }