예제 #1
0
 // 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());
 }
예제 #2
0
 // GET: Admin/Branch
 public ActionResult Index()
 {
     return(View(branchService.GetActive()));
 }