I am trying to figure out how the CustomerRepository static class method GetCustomerOrderTotalByYear is accessable in the CustomerService via the method
public decimal CustomerOrderTotalByYear(string customerId, int year)
// add business logic here
return _repository.GetCustomerOrderTotalByYear(customerId, year);
Which is then tested in the CustomerRepositoryTest.cs file... I am not understanding how the service is finding that method... Any help would be appreciated...