more friendly
This commit is contained in:
parent
d46900db41
commit
254f752abb
11 changed files with 762 additions and 263 deletions
|
|
@ -16,6 +16,7 @@ namespace Yavsc.Controllers
|
|||
using System.IO;
|
||||
using Models;
|
||||
using Yavsc;
|
||||
using Yavsc.Helpers;
|
||||
|
||||
[AllowAnonymous]
|
||||
public class HomeController : Controller
|
||||
|
|
@ -51,7 +52,7 @@ namespace Yavsc.Controllers
|
|||
var notes = DbContext.Notification.Where(
|
||||
n=> !clicked.Any(c=>n.Id==c)
|
||||
);
|
||||
ViewData["Notify"] = notes;
|
||||
this.Notify(notes);
|
||||
ViewData["HasHaircutCommand"] = DbContext.HairCutQueries.Any
|
||||
(q=>q.ClientId == uid && q.Status < QueryStatus.Failed);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue