public function getDelete($id)
 {
     $subject = Subject::findOrFail($id);
     Subject::destroy($id);
     session()->flash('flash_mess', 'Subject  was deleted');
     return redirect(action('SubjectController@getIndex'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     Subject::destroy($id);
     return redirect('subject');
 }
 public function destroy($id)
 {
     Subject::destroy($id);
     return Redirect::to('/admin/subject/register');
 }