/** * Remove the specified resource from storage. * * @param int $id * @return Response */ public function destroy($id) { Client::find($id)->delete(); }
/** * Run the database seeds. * * @return void */ public function run() { \project\Client::truncate(); factory(\project\Client::class, 10)->create(); }