public IActionResult Create(Side side) { if (ModelState.IsValid) { _ps.CreateSide(side); return(RedirectToAction(nameof(Index))); } return(View(side)); }
public IActionResult Create(Side side) { if (ModelState.IsValid) { _ps.CreateSide(side); return(RedirectToAction(nameof(Index))); } return(View(side)); }