public void Update(CustomerRecord customer)
 {
     _context.SaveChanges();
 }
 public CustomerRecord Create(CustomerRecord customer)
 {
     Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry <CustomerRecord> entry = _context.Customers.Add(customer);
     _context.SaveChanges();
     return(entry.Entity);
 }