public void AddCustomer(Customer cust) { dl.AddCustomer(new DO.Customer { CustomerID = dl.GetNewCustomerID().ToString(@"00000"), Name = cust.Name, Company = cust.Company, Address = cust.Address, PostCode = cust.PostCode, City = cust.City, Email = cust.Email, Phone = cust.Phone, Mobile = cust.Mobile }); }