Ejemplo n.º 1
0
 public IEnumerable <PaymentMethod> AddPaymentMethod(AddPaymentMethodDTO paymentMethodToAdd)
 {
     _repo.AddCustomerPaymentMethod(paymentMethodToAdd);
     return(_repo.GetPaymentMethodByCustomerId(paymentMethodToAdd.CustomerId));
 }