Exemplo n.º 1
0
        public async Task <List <RecordViewModel> > FindAsync(RecordSearchModel searchModel)
        {
            var list = await _recordRepository.FindAllAsync(searchModel);

            return(_mapper.Map <List <Record>, List <RecordViewModel> >(list));
        }