// GET: Admin/CourseNote/Create public ActionResult Create() { ViewBag.StudentId = new SelectList(studentService.GetActive(), "ID", "StudentName"); ViewBag.CourseId = new SelectList(courseService.GetActive(), "ID", "CourseName"); ViewBag.PeriodId = new SelectList(periodService.GetActive(), "ID", "PeriodName"); ViewBag.EducationYearId = new SelectList(educationYearService.GetActive(), "ID", "EducationYearName"); return(View()); }
// GET: Admin/Period public ActionResult Index() { return(View(periodService.GetActive())); }
// GET: Admin/Course/Create public ActionResult Create() { ViewBag.PeriodId = new SelectList(periodService.GetActive(), "ID", "PeriodName"); ViewBag.EducationYearId = new SelectList(educationYearService.GetActive(), "ID", "EducationYearName"); return(View()); }