Ejemplo n.º 1
0
        public async Task <IEnumerable <ThingListDto> > GetThings()
        {
            _logger.LogInformation("{class}.{method} Invoked", nameof(ThingQueryService), nameof(GetThings));

            var userGuid = _httpContextUserService.GetUserGuid();
            var things   = await _thingRepository.GetWithCategoriesAndCurrenciesAndPlaces(userGuid);

            return(_thingMappingService.Map(things));
        }