Esempio n. 1
0
 public ActionResult AddCourse()
 {
     ViewBag.getLev       = CourseBL.GetAllLevel();
     ViewBag.getDoc       = CourseBL.GetAllDoctors("دكتور");
     ViewBag.getAssistant = CourseBL.GetAllDoctors("معيد");
     ViewBag.getSem       = CourseBL.GetAllSemesters();
     ViewBag.getSpe       = CourseBL.GetAllSpecializations();;
     return(View());
 }
Esempio n. 2
0
 public ActionResult EditCourse(int id)
 {
     ViewBag.Model        = CourseBL.getCourseById(id);
     ViewBag.getLev       = CourseBL.GetAllLevel();
     ViewBag.getDoc       = CourseBL.GetAllDoctors("دكتور");
     ViewBag.getAssistant = CourseBL.GetAllDoctors("معيد");
     ViewBag.getSem       = CourseBL.GetAllSemesters();
     ViewBag.getSpe       = CourseBL.GetAllSpecializations();
     return(View());
 }