public ActionResult SaveGeneralConfiguration(UserModel.User user)
 {
     if (ModelState.IsValid)
     {
         var configuration = new UserConfiguration();
         configuration.ShowDeletePrompt = user.ShowDeletePrompt;
         configuration.ShowNotes = user.ShowNotes;
         configuration.Username = User.Identity.Name;
         if (!user.SubmitConfiguration(configuration))
         {
             //Fail
             return RedirectToAction("Error", "User");
         }
     }
     return RedirectToAction("AccountDashboard", "User", new { ADCF = "ChangeConfig" });
 }
 public ActionResult SaveDefaultMessage(UserModel.User user)
 {
     if (ModelState.IsValid)
     {
         var configuration = new UserConfiguration();
         configuration.Message = user.DefaultMessage;
         configuration.Username = User.Identity.Name;
         if (!user.SubmitConfiguration(configuration))
         {
             //Fail
             return RedirectToAction("Error", "User");
         }
     }
     return RedirectToAction("AccountDashboard", "User", new { ADDF = "ChangeMessage" });
 }