public ActionResult Insert(Professores professor) { Services.ProfessorService service = new Services.ProfessorService(); service.Add(professor); return(View(professor)); }
// GET: Professor public ActionResult Index() { Services.ProfessorService service = new Services.ProfessorService(); return(View(service.ListAll())); }