public void Update(Customer v)
        {
            Customer r = _context.NorthwindWebService.UpdateCustomer(v);

            v.CustomerID = r.CustomerID;
            v.CompanyName = r.CompanyName;
            v.ContactName = r.ContactName;
            v.ContactTitle = r.ContactTitle;
            v.Address = r.Address;
            v.City = r.City;
            v.Region = r.Region;
            v.PostalCode = r.PostalCode;
            v.Country = r.Country;
            v.Phone = r.Phone;
            v.Fax = r.Fax;
        }
 public void DeleteCustomer(Customer customer)
 {
     object[] results = Invoke("DeleteCustomer", new object[] {customer});
 }
 public void Delete(Customer v)
 {
     _context.NorthwindWebService.DeleteCustomer(v);
 }
 public Customer CreateCustomer(Customer customer)
 {
     object[] results = Invoke("CreateCustomer", new object[] {customer});
     return ((Customer) (results[0]));
 }