public ActionResult ProcedureAffecterPersonnel(string noVol, string date, int matricule) { DepartVol departVol = new DepartVol(); departVol.ProcedureAffecterPersonnel(noVol, date, matricule); return(Json(new { Response = "Success" })); }
// GET: Accueil public ActionResult Accueil() { Personnel personnel = new Personnel(); ViewBag.listePersonnel = personnel.GetAllPersonnel(); Vol vol = new Vol(); ViewBag.listeVols = vol.GetAllVols(); DepartVol departVol = new DepartVol(); ViewBag.departVol = departVol.GetAllDepartVols(); return(View()); }