public async Task <ShopperViewModel> GetAsync(Guid shopperID)
        {
            var shopper = await this.findShopperRepository.GetAsync(shopperID);

            return(shopperAdapter.Adapt(shopper, typeMapper));
        }
Пример #2
0
        public async Task <PaymentViewModel> GetAsync(Guid paymentID)
        {
            var payment = await this.paymentRepository.GetAsync(paymentID);

            return(paymentAdapter.Adapt(payment, typeMapper));
        }