Exemplo n.º 1
0
 public static function applyForAnInternship($id)
 {
     $check = Internships::applyForAnInternship($id);
     if ($check) {
         return Redirect::to('/students')->withErrors(array("msg" => "successfully applied for an Internship"));
     } else {
         return Redirect::to('/students')->withErrors(array("msg" => "Sorry! something went wrong. Not applied for an Internship."));
     }
 }