Ejemplo n.º 1
0
        public async Task <IEnumerable <IncidentStatusT> > GetIncidentStatuses()
        {
            var resultList = new List <IncidentStatusT>();

            foreach (var result in await _lustRepository.GetIncidentStatuses())
            {
                resultList.Add(_mapper.Map <EntityDto.IncidentStatusT, IncidentStatusT>(result));
            }
            return(resultList);
        }