// GET: Admin/Teacher/Create public ActionResult Create() { ViewBag.BranchId = new SelectList(branchService.GetActive(), "ID", "BranchName"); ViewBag.CourseId = new SelectList(courseService.GetActive(), "ID", "CourseName"); return(View()); }
// GET: Admin/Branch public ActionResult Index() { return(View(branchService.GetActive())); }