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 Tipos de Curso"; return(View("List", courseTypeAppService.GetActive())); }