public ActionResult Index() { var notificationsList = RepositoryFactory.NotificationRepository.Queryable .Where(x => x.To.Identifier == CurrentUser.Identity.Name) .OrderByDescending(x => x.Created); return View(notificationsList.ToList()); }