Esempio n. 1
0
 public ActionResult UserProfileModel(UserProfile userProfile)
 {
     if (ModelState.IsValid)
     {
         AccountViewModels.UpdateUserProfile(userProfile);
         ViewBag.Message = "Profile is saved successfully.";
     }
     return(View());
 }