/**
  * Store a newly created resource in storage.
  *
  * @param  Request  $request
  * @return Response
  */
 public function store(Request $request)
 {
     $validator = Validator::make($data = $request->all(), Board::$rules);
     if ($validator->fails()) {
         return Redirect::back()->withErrors($validator)->withInput();
     }
     Board::create($data);
     return Redirect::route($this->route . 'index')->with('message', 'New University / Board  has been Added!');
 }
 public function run()
 {
     Board::create(['name' => 'AICTE']);
     Board::create(['name' => 'CISCO']);
     Board::create(['name' => 'IGNOU']);
     Board::create(['name' => 'IIT']);
     Board::create(['name' => 'National Institute of Open School']);
     Board::create(['name' => 'Guwahati University']);
     Board::create(['name' => 'RED HAT']);
     Board::create(['name' => 'MICROSOFT']);
 }