Example #1
0
 /**
  * Remove the specified branch from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Bank::destroy($id);
     return Redirect::route('banks.index');
 }
Example #2
0
 /**
  * Remove the specified resource from storage.
  * DELETE /banks/{id}
  *
  * @param  int  $id
  * @return Response
  */
 public function delete($id)
 {
     Bank::destroy($id);
     return Redirect::back();
 }