private static void DeleteCustomer(string customerId)
 {
     northwindEntities context = new northwindEntities();
     Customer customer = GetCustomerById(customerId, context);
     context.Customers.Remove(customer);
     context.SaveChanges();
 }
 private static void InsertCustomer(string id, string companyName, string contactName, 
     string contactTitle, string address, string city, string region, 
     string postalCode, string country, string phone, string fax)
 {
     northwindEntities context = new northwindEntities();
     Customer customer = new Customer()
     {
         CustomerID = id,
         CompanyName = companyName,
         ContactName = contactName,
         ContactTitle = contactTitle,
         Address = address,
         City = city,
         Region = region,
         PostalCode = postalCode,
         Country = country,
         Phone = phone,
         Fax = fax
     };
     context.Customers.Add(customer);
     context.SaveChanges();
 }
 private static void ModifyCustomerName(string customerId, string customerName)
 {
     northwindEntities context = new northwindEntities();
     Customer customer = GetCustomerById(customerId, context);
     customer.ContactName = customerName;
     context.SaveChanges();
 }