CapRaffle.Controllers.AccountController.ChangeNamePartial C# (CSharp) Method

ChangeNamePartial() private method

private ChangeNamePartial ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult ChangeNamePartial()
        {
            User user = accountRepository.GetUserByEmail(HttpContext.User.Identity.Name);
            return PartialView("_ChangeName", new ChangeNameViewModel { NewName = user.Name } );
        }