Let's say that I have Customer model with following fields: Id, FirstName, LastName. I want to present list of Customers in List View. For this I use my service method which return List to iterate in view.
But now I want also to display some additional information for each customer, for example credit. This information is not stored in specific field in database, but has to be calculated based on data in Transacitons. Where should I do this calculation?
I can have extra field called Credit for Customer model, and do it in getter, but I'm not sure if this is the best way, especially that inside od Model I don't have access to EF context.