Posts by Severo • 1 point
1 post
-
0
votes2
answers98
viewsQ: How to avoid code redundancy in these two methods, one having a Ienumerable<> parameter and the other not?
How can I simplify these two methods in order to prevent code repetition? Method 1, with the first expression having a generic property of type Ienumerable<>: public GenericDAO<TModel>…