public static PaymentType InsertPaymentType(string type) { PaymentType pt = PaymentFactory.GetPaymentType(type); db.PaymentTypes.Add(pt); db.SaveChanges(); return(pt); }
public static PaymentType InsertPaymentType(string type) { PaymentType pt = PaymentFactory.GetPaymentType(type); db.PaymentTypes.Add(pt); db.SaveChanges(); return(pt); }