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

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

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