Exemple #1
0
 public void Create(Invoice model)
 {
     db.Invoices.Add(model);
     db.SaveChanges();
 }
Exemple #2
0
 public void Create(Invoice_detail model)
 {
     db.Invoice_details.Add(model);
     db.SaveChanges();
 }
Exemple #3
0
 public void Create(Product model)
 {
     db.Products.Add(model);
     db.SaveChanges();
 }
 public void Create(Customer model)
 {
     db.Customers.Add(model);
     db.SaveChanges();
 }