public async Task <IEnumerable <EmployeeTaskDto> > GetList() { var results = await _employeetaskRepository.GetListAsync(); var conResults = _mapper.Map <List <EmployeeTaskDto> >(results); return(conResults.ToArray()); }