crisischeckin
crisischeckin copied to clipboard
Filtering requests by date
Administrators can filter Requests on the Requests page by several fields, including the date the Requests was created. The CreatedDate property on the Requests model is currently saved as date and time. Administrators are only given the option of filtering based on a date. The Filter method in RequestService needs to only filter by date and not date and time.
I believe one way to compare dates only with DateTime objects in EF6 is with DbFunctions.TruncateTime().