public async Task <IEnumerable <TankStatus> > GetTankStatuses() { var resultList = new List <TankStatus>(); foreach (var result in await _lustRepository.GetTankStatuses()) { resultList.Add(_mapper.Map <EntityDto.TankStatus, TankStatus>(result)); } return(resultList); }