Hello - trying to work with Linq...
Will this statement return all records from the last 15 minutes? I ask because DateTimeCreated is in a format like this 2021-06-25 13:47:19.217
This is my full statement, can someone assist me here in validating this will return all records from the last 15 minutes or helping me with updated code that will do that?
_databaseRepository.SelectList<Table>(sp => (sp.userId == 18 || sp.userId == 20) && sp.DateTimeCreated >= DateTime.Now.AddMinutes(-15));