Exemple #1
0
        public async Task <AddressGetResponse> GetByIdAsync(string id)
        {
            var getByIdResult = await _addressRepository.FindOneAsync(x => x.Id == id);

            var newResponse = getByIdResult?.ToAddressGetResponse();

            return(newResponse);
        }