Beispiel #1
0
 public static void SetValue(this System.Web.Mvc.ModelStateDictionary state, string key, object value)
 {
     state.SetModelValue(key, new ValueProviderResult(value, value.ToString(), CultureInfo.CurrentCulture));
 }