/// <summary> /// Returns a list of <see cref="MiniProfiler.Id"/>s that haven't been seen by <paramref name="user"/>. /// </summary> /// <param name="user">User identified by the current <see cref="MiniProfiler.Settings.UserProvider"/>.</param> public override List <Guid> GetUnviewedIds(string user) { var query = Query.And( Query <MiniProfilerPoco> .EQ(p => p.User, user), Query <MiniProfilerPoco> .EQ(p => p.HasUserViewed, false)); var guids = Profilers.FindAs <MiniProfilerPoco>(query).Select(p => Guid.Parse(p.Id)).ToList(); return(guids); }