public new ActionResult Profile(string id) { var vm = new UserProfileViewModel(id); return View(vm); }
public new ActionResult Profile(string id, ProfilePropertyInputModel[] profileValues) { var vm = new UserProfileViewModel(id, profileValues); if (vm.UpdateProfileFromValues(ModelState)) { TempData["Message"] = Resources.UserController.ProfileUpdated; return RedirectToAction("Profile", new { id }); } return View(vm); }
public new ActionResult Profile(string username) { var vm = new UserProfileViewModel(username); return View(vm); }