public async Task <ShopperViewModel> GetAsync(Guid shopperID) { var shopper = await this.findShopperRepository.GetAsync(shopperID); return(shopperAdapter.Adapt(shopper, typeMapper)); }
public async Task <PaymentViewModel> GetAsync(Guid paymentID) { var payment = await this.paymentRepository.GetAsync(paymentID); return(paymentAdapter.Adapt(payment, typeMapper)); }