public IEnumerable <TeacherDTO> GetTeachers() { return(service.GetTeachers()); }
public ActionResult Edit(int id) { var teachers = teachersService.GetTeachers(id); return(View(mapper.Map <TeachersViewModel>(teachers))); }
public IEnumerable <TeacherDTO> GetTeachers() { return(service.GetTeachers()); }
public ActionResult Edit(int id) { var teachers = teachersService.GetTeachers(id); return(View(mapper.Map <TeachersViewModel>(teachers))); }