Badges.Controllers.NotificationsController.Index C# (CSharp) Method

Index() public method

public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Index()
        {
            var notificationsList = RepositoryFactory.NotificationRepository.Queryable
                                                    .Where(x => x.To.Identifier == CurrentUser.Identity.Name)
                                                    .OrderByDescending(x => x.Created);

            return View(notificationsList.ToList());
        }