public static void SavePreferencePointModel(this TempDataDictionary tempData, WeightsModel weightsModel, int personId) { tempData[PrefPointKey + personId] = weightsModel; }
public ActionResult Point(WeightsModel weights) { TempData.SavePreferencePointModel(weights, weights.PersonId); return(RedirectToAction("Pairwise", new { id = weights.PersonId })); }