// public void DeleteCustomer(Customer CustForDeletion) // { // throw new NotImplementedException(); // //_repo.DeleteHero(hero2BDeleted); // } public Customer GetCustomerByName(string name) { //Todo: check if the name given is not null or empty string return(_repo.GetCustomerByName(name)); }