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