public IActionResult EditSeed(NewYieldVm model) { if (ModelState.IsValid) { _yieldService.UpdateYield(model); return(RedirectToAction("Index")); } return(View(model)); }