public async Task <IActionResult> GetMeetings() { var meetings = await _repo.GetMeetings(); var meetingsToReturn = _mapper.Map <IEnumerable <MeetingsDto> >(meetings); return(Ok(meetingsToReturn)); }
public ICollection <MeetingDto> GetMeetings() { return(_meetingsRepository.GetMeetings()); }