public IActionResult SwitchFor() { SwitchModel model = new SwitchModel(); model.check = true; return(View(model)); }
public IActionResult SwitchFor(SwitchModel model) { return(View(model)); }