コード例 #1
0
        public async Task <IEnumerable <EmployeeTaskDto> > GetList()
        {
            var results = await _employeetaskRepository.GetListAsync();

            var conResults = _mapper.Map <List <EmployeeTaskDto> >(results);

            return(conResults.ToArray());
        }