❔ want to add a conditional .Take(10) to a query without duplicating the code
Im looking for an easy way to add a .Take(10) or .Take(x) to a iqueryable so that my test go faster instead of running on the entire data.
is there a way to make it so if x is null it takes all or ignres the take() option ??
is there a way to make it so if x is null it takes all or ignres the take() option ??