Esempio n. 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($idGenero)
 {
     $genero = Genero::find($idGenero);
     $genero->delete();
     return Response::json(array('error' => false, 'message' => 'Genero eliminado'), 200);
 }