Exemplo n.º 1
0
 public ActionResult UnreadComments()
 {
     try
     {
         var comments = commentManager.GetUnreadComments(((User)Session["Login"]).Id);
         GetNotificationCount();
         return(View(comments));
     }
     catch (Exception e)
     {
         ViewBag.ErrorTitle       = "Server Error";
         ViewBag.ErrorDescription = "Please try again later";
         return(View("~/Views/Shared/ErrorPage.cshtml"));
     }
 }