예제 #1
0
 public void CreateQRCode(QRCode item)
 {
     _context.QRCodes.Add(item);
     _context.SaveChanges();
 }
예제 #2
0
 public void SavePurchaseEVoucher(PurchaseEVoucher purchase)
 {
     _context.PurchaseEVouchers.Add(purchase);
     _context.SaveChanges();
 }
예제 #3
0
 public void SaveVoucher(eVoucher item)
 {
     _context.EVouchers.Add(item);
     _context.EVoucherPaymentModes.AddRange(item.eVoucherPaymentMode);
     _context.SaveChanges();
 }