Badges.Controllers.InstructorController.Notifications C# (CSharp) Method

Notifications() public method

Show your pending notifications
public Notifications ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Notifications()
        {
            var myNotifications =
                RepositoryFactory.FeedbackRequestRepository.Queryable.Where(
                    x => x.Instructor.Identifier == CurrentUser.Identity.Name && x.ResponseDate == null)
                                 .Fetch(x => x.Experience)
                                 .ThenFetch(x=>x.Creator)
                                 .ToList();

            return View(myNotifications);
        }