Esempio n. 1
0
 /**
  * Remove the specified lot from storage (global UI implementation).
  *
  * @param  int  $id
  * @return Response
  */
 public function delete($id)
 {
     //Delete the lot
     $lot = Lot::find($id);
     $lot->delete();
     // redirect
     return redirect()->to('lot.index')->with('message', trans('messages.success-deleting-lot'));
 }