Badges.Controllers.StudentController.Portfolio C# (CSharp) Method

Portfolio() public method

public Portfolio ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Portfolio()
        {
            var experiences =
                RepositoryFactory.ExperienceRepository.Queryable.Where(
                    x => x.Creator.Identifier == CurrentUser.Identity.Name);

            ViewBag.Name = _userService.GetCurrent().Profile.DisplayName;

            return View(experiences);
        }