Пример #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     return \ProjetoTarefas\Client::find($id)->delete();
 }
Пример #2
0
 /**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     \ProjetoTarefas\Client::truncate();
     factory(\ProjetoTarefas\Client::class, 10)->create();
 }