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