Hi all,
Should I be doing my automapping in my service layer or at my controller?
I like the Idea of Repository - Raw data IQueryable type stuff with full domain(type) objects. Service layer - Paged, Ordered, Filtered, Automapped View model to return Controller - Push the view with the correct model
But having seen some nice stuff with ActionFilters and attributes I'm wondering if a better approach would be
Repository - Raw data IQueryable type stuff with full domain(type) objects. Service layer - filtered, paged data Domain objects Controller - Automapping the service layer data and pushing the view.
Any thoughts on this would be greatly appreciated