public async Task <IActionResult> GetMeetings()
        {
            var meetings = await _repo.GetMeetings();

            var meetingsToReturn = _mapper.Map <IEnumerable <MeetingsDto> >(meetings);

            return(Ok(meetingsToReturn));
        }
Beispiel #2
0
 public ICollection <MeetingDto> GetMeetings()
 {
     return(_meetingsRepository.GetMeetings());
 }