// End of CustomerDataAccess Class public ConstructorInjection() { CustomerBusinessLogic constructorInjection = new CustomerBusinessLogic(); string cName = constructorInjection.GetCustomerName(3); Console.WriteLine(cName); }
public string GetCustomerName(int id) { return(_customerBL.GetCustomerName(id)); }
public string GetCustomerName(int id) { return(_logic.GetCustomerName(id)); }