public void AddCustomer(Customer customer) { if (customer.CustomerName != null) { cdal.AddCustomer(customer); } }
public int AddCustomer(Customer customer) { return(_customerBusinessLayer.AddCustomer(customer)); }