// 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());
 }
Ejemplo n.º 2
0
 // GET: Admin/Period
 public ActionResult Index()
 {
     return(View(periodService.GetActive()));
 }
Ejemplo n.º 3
0
 // 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());
 }