How to compare dates in Entity Framework with Repository Pattern
The specified type member 'Date' is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties