Exemplo n.º 1
0
 public void AddProduct(Products product)
 {
     using (var customerContext = new CustomerAppContext())
     {
         customerContext.Add(product);
         customerContext.SaveChanges();
     }
 }