Beispiel #1
0
        public ActionResult <IEnumerable <TeacherReadDto> > GetAllTeachers()
        {
            var TeacherItems = _repo.GetAllTeachers();

            return(Ok(_mapper.Map <IEnumerable <TeacherReadDto> >(TeacherItems)));
        }