public async Task <IActionResult> GetAllAsync() { var facultyDtos = await _facultyService.GetAllAsync(); var response = _facultyResponseComposer.ComposeForGetAll(facultyDtos); return(response); }
public async Task <IEnumerable <Faculty> > GetFaculties() { return(await _facultyService.GetAllAsync()); }