User-474980206 posted
your code is trying to || two lambda expressions together and get a new lambda expression. there is no language support for this. try just using one lama expression:
.Where(s => (s.StartDate <= startDate && s.EndDate > endDate) || (s.EndDate > Time))