Scenario:
Ciclos
id
name
endDate (datetime?)
Data:
1, primeiro, 05/10/2017
2, segundo, 15/10/2017
3, terceiro, 20/10/2017
4, quarto, 30/10/2017
With linq and lambda, I would like to return dates that are above the current date, but are below a certain amount of days reported by the user.
Example if today is day 01/10/2017
The user informs 20 days, he should return the cycles 1, 2, 3 because these 3 records are in up to 20 days to "win"
This endDAte
is an expiration date.