Пример #1
0
 public IActionResult EditSeed(NewYieldVm model)
 {
     if (ModelState.IsValid)
     {
         _yieldService.UpdateYield(model);
         return(RedirectToAction("Index"));
     }
     return(View(model));
 }