Exemple #1
0
 public void updateCustomer(VCustomerUpdate updateCustomer)
 {
     using (var context = new CustomerProductDbContext())
     {
         context.VCustomerUpdate.Update(updateCustomer);
         context.SaveChanges();
     }
 }
 public IActionResult Put(VCustomerUpdate customer)
 {
     d.updateCustomer(customer);
     return(Ok("Updated Successfully"));
 }