public IQueryable <Invit> Get(int userId, InvitStatus filterBy) { return(this.dbContext.Invits .Where(i => !i.Deleted) .Where(i => i.UserId == userId) .Where(i => (i.Status & filterBy) != 0) ); }
public IQueryable<Invit> Get(int userId, InvitStatus filterBy) { return this.dbContext.Invits .Where( i => !i.Deleted) .Where(i => i.UserId == userId) .Where(i => (i.Status & filterBy) != 0) ; }