Ejemplo n.º 1
0
 public PaymentType GetPaymentTypeByName(string paymentTypeName)
 {
     return(PaymentTypes.Single(x => x.Name == paymentTypeName));
 }
Ejemplo n.º 2
0
 public PaymentType GetPaymentTypeById(int paymentTypeId)
 {
     return(PaymentTypes.Single(x => x.Id == paymentTypeId));
 }