Validated book queries are obsolete

This commit is contained in:
Paul Schneider 2016-12-12 18:37:54 +01:00
commit bf09fe4a91
3 changed files with 48 additions and 2 deletions

View file

@ -41,7 +41,8 @@ namespace Yavsc.Controllers
var now = DateTime.Now;
var result = _context.Commands.Include(c => c.Location).
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now).
Include(c => c.Client).Where(c => c.PerformerId == uid && c.Id < maxId && c.EventDate > now
&& c.ValidationDate == null).
Select(c => new BookQueryProviderInfo
{
Client = new ClientProviderInfo {