I have Entity Framework version greater than 6 as can be seen below and I am getting an error
DbArithmeticExpression arguments must have a numeric common type
The below LINQ query is generating error when I subtract two dates I think
var dateee = DateTime.Now.AddDays(30);
List<Account> account = webUOW.RepoOf<Account>()
.Get(q => q.Active == true &&
q.GotFriendListDate != null &&
(dateee - q.GotFriendListDate.Value).Days > 30)
.ToList();