Example #1
0
        public async Task <IEnumerable <ReportResponse> > GetYearReportsAsync(ReportYearRequest req)
        {
            var results = await _repo.GetYearAsync(req.Year);

            return(results.Select(x => _mapper.Map(x)).ToList());
        }