public ActionResult Create() { ViewBag.Title = "Novo registro"; ViewBag.CourseTypeId = new SelectList(courseTypeAppService.GetActive(), "Id", "Identification"); ViewBag.InstructorId = new SelectList(instructorAppService.GetActive(), "Id", "Identification"); return(View()); }
public ActionResult Index() { ViewBag.Control = "Index"; ViewBag.Title = "Lista de Instrutores Ativos"; return(View("List", instructorAppService.GetActive())); }