public IActionResult Edit(UOM model) { if (ModelState.IsValid) { _repository.SaveUOM(model); return(RedirectToAction("list", new { id = "success" })); } return(View(model)); }
public IActionResult Edit(UOM model) { if (ModelState.IsValid) { _repository.SaveUOM(model); return(RedirectToAction("list", new { id = "success" })); } return(View(model)); }