示例#1
0
        public ActionResult ProcedureAffecterPersonnel(string noVol, string date, int matricule)
        {
            DepartVol departVol = new DepartVol();

            departVol.ProcedureAffecterPersonnel(noVol, date, matricule);
            return(Json(new { Response = "Success" }));
        }
示例#2
0
        // 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());
        }