public async Task <IEnumerable <ExamDto> > BrowseAsync(string name = null) { Logger.Info("Fetching exams"); var exams = await _examRepository.BrowseAsync(name); return(_mapper.Map <IEnumerable <ExamDto> >(exams)); }
public async Task <IEnumerable <ExamDto> > BrowseAsync(string name = null) { Logger.Info("Fetching exams"); var exams = await _examRepository.BrowseAsync(name); return(_mapper.Map <IEnumerable <ExamDto> >(exams)); }