示例#1
0
 public IActionResult EditSeed(NewSeedVm model)
 {
     if (ModelState.IsValid)
     {
         _seedService.UpdateSeed(model);
         return(RedirectToAction("Index"));
     }
     return(View(model));
 }