Exemplo n.º 1
0
        public void updateFeeVoucherType(FeeVoucherType FeeVoucherType)
        {
            SMSContext sMSContext = new SMSContext();

            sMSContext.Entry(FeeVoucherType).State = System.Data.Entity.EntityState.Modified;
            sMSContext.SaveChanges();
        }
Exemplo n.º 2
0
        public void saveFeeVoucherType(FeeVoucherType FeeVoucherType)
        {
            SMSContext sMSContext = new SMSContext();

            sMSContext.FeeVoucherTypes.Add(FeeVoucherType);
            sMSContext.SaveChanges();
        }