public PaymentType GetPaymentTypeByName(string paymentTypeName) { return(PaymentTypes.Single(x => x.Name == paymentTypeName)); }
public PaymentType GetPaymentTypeById(int paymentTypeId) { return(PaymentTypes.Single(x => x.Id == paymentTypeId)); }
public PaymentType GetPaymentTypeByName(string paymentTypeName) { return(PaymentTypes.Single(x => x.Name == paymentTypeName)); }
public PaymentType GetPaymentTypeById(int paymentTypeId) { return(PaymentTypes.Single(x => x.Id == paymentTypeId)); }