Considering I have a service to calculate a customer account balance with the interface
public interface ICustomerAccountCalculation
{
Decimal Balance(int customerId);
}
is it better style to rather than pass in the customer id to pass the customer object like this
public interface ICustomerAccountCalculation
{
Decimal Balance(Customer customer);
}