Hello. I found lots of filtering are performed after getting all data from DB. Because the repository layer and business layer all return IEnumerable<>. Does it affect the performance a lot?
However, if not return IEnumerable<>, these layers will become difficult to test.
Is the current design a performance tradeoff to achieve testabilty?
Thanks.
However, if not return IEnumerable<>, these layers will become difficult to test.
Is the current design a performance tradeoff to achieve testabilty?
Thanks.