Пример #1
0
        public async Task <Resource> GetAsync(AggregateId id)
        {
            var entity = await _repository.GetRecordsAsync(e => e.Id == id);

            await _repository.SaveAsync();

            return(entity?.AsDtos());
        }