Where should we do the filtering – at the data layer or the service layer to optimize testability and efficiency?
We use LINQ in EF to filter the data (to optimize queries). However, on testing our services, we cannot test the queries – so should we have filtering also done at the service layer?
Where should we do the filtering – at the data layer or the service layer to optimize testability and efficiency?
We use LINQ in EF to filter the data (to optimize queries). However, on testing our services, we cannot test the queries – so should we have filtering also done at the service layer?
Where should we do the filtering – at the data layer or the service layer to optimize testability and efficiency?
We use LINQ in EF to filter the data (to optimize queries). However, on testing our services, we cannot test the queries – so should we have filtering also done at the service layer?
Where should we do the filtering – at the data layer or the service layer to optimize testability and efficiency?
We use LINQ in EF to filter the data (to optimize queries). However, on testing our services, we cannot test the queries – so should we have filtering also done at the service layer?
Where should we do the filtering – at the data layer or the service layer to optimize testability and efficiency?
We use LINQ in EF to filter the data (to optimize queries). However, on testing our services, we cannot test the queries – so should we have filtering also done at the service layer?