public ActionResult <IEnumerable <SubjectDto> > GetAllSubjects() { var subjectItems = _repository.GetAll(); return(Ok(_mapper.Map <IEnumerable <SubjectDto> >(subjectItems))); }
public ActionResult <IEnumerable <RoomDto> > GetAllRooms() { var roomItems = _repository.GetAll(); return(Ok(_mapper.Map <IEnumerable <RoomDto> >(roomItems))); }
public ActionResult <IEnumerable <CourseDto> > GetAllCourses() { var courseItems = _repository.GetAll(); return(Ok(_mapper.Map <IEnumerable <CourseDto> >(courseItems))); }
public ActionResult <IEnumerable <LecturerDto> > GetAllLecturers() { var lecturerItems = _repository.GetAll(); return(Ok(_mapper.Map <IEnumerable <LecturerDto> >(lecturerItems))); }
public ActionResult <IEnumerable <StudentDto> > GetAllStudents() { var studentItems = _repository.GetAll(); return(Ok(_mapper.Map <IEnumerable <StudentDto> >(studentItems))); }