KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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); }
Tags (comma-separated)
Save Edits
Cancel