コード例 #1
0
        public static PaymentType InsertPaymentType(string type)
        {
            PaymentType pt = PaymentFactory.GetPaymentType(type);

            db.PaymentTypes.Add(pt);
            db.SaveChanges();

            return(pt);
        }