Exemple #1
0
        public ActionResult EditProfile()
        {
            // Get the User information
            var userInformation = _processor.GetUser(User.Identity.Name);

            return(View(userInformation.Profile ?? new UserProfile {
                UserId = userInformation.UserId
            }));
        }