Exemplo n.º 1
0
        public string CountNoti()
        {
            var c = new WebLib.DAL.fwNotificationDAL().CountNew(DB.CurrentUser.ID);
            if (c != 0) return string.Format("<i class='tmn-counts'>{0}</i>", c);

            return null;
        }
Exemplo n.º 2
0
 public ActionResult ListNoti()
 {
     new WebLib.DAL.fwNotificationDAL().RemoveCount(DB.CurrentUser.ID);
     var lst = new WebLib.DAL.fwNotificationDAL().ListByUser(DB.CurrentUser.ID);
     return PartialView(lst);
 }