refactoring messages
This commit is contained in:
parent
6066497a67
commit
13bdf7463d
44 changed files with 602 additions and 303 deletions
|
|
@ -50,7 +50,7 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
else clicked = DbContext.DimissClicked.Where(d=>d.UserId == uid).Select(d=>d.NotificationId).ToArray();
|
||||
var notes = DbContext.Notification.Where(
|
||||
n=> !clicked.Any(c=>n.Id==c)
|
||||
n=> !clicked.Contains(n.Id)
|
||||
);
|
||||
this.Notify(notes);
|
||||
ViewData["HaircutCommandCount"] = DbContext.HairCutQueries.Where(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue