Beispiel #1
0
 private void InsertCustomer(CrmCustomers cus)
 {
     using (var context = new NeoCRMContext())
     {
         context.CrmCustomers.Add(cus);
         context.SaveChanges();
     }
 }
Beispiel #2
0
 public HomeController(NeoCRMContext ctx)
 {
     this._ctx = ctx;
 }