Exemplo n.º 1
0
 public IActionResult OptionsSubmit([FromForm] string ReviewEnabled, [FromForm] string Randomize, [FromForm] int ReviewThreshold)
 {
     _config.Set("ReviewEnabled", ReviewEnabled);
     _config.Set("ReviewThreshold", ReviewThreshold.ToString());
     _config.Set("Randomize", Randomize);
     return(RedirectToAction("Options"));
 }