public async Task <ActionResult <IEnumerable <NoticeDto> > > GetNotices([FromQuery] NoticeDtoParameters noticeDtoParameters) { var notices = await _noticeRepository.GetNoticesAsync(noticeDtoParameters); var noticeDtos = _mapper.Map <IEnumerable <NoticeDto> >(notices); return(Ok(noticeDtos)); }