public bool AddCustomer(Customer customer) { if (customer == null) { return(false); } return(repo.AddCustomer(customer)); }