public void EditCustomer(Customer cust) { dl.EditCustomer(new DO.Customer { CustomerID = cust.CustomerID, Name = cust.Name, Company = cust.Company, Address = cust.Address, PostCode = cust.PostCode, City = cust.City, Email = cust.Email, Phone = cust.Phone, Mobile = cust.Mobile }); }