public IActionResult Update(AttributeGroupViewModel vm) { attrGroupRepo.Update(vm); var url = Url.Action("Index", "AttributeGroup"); return(Json(url)); }
public IActionResult Update(AttributeGroupViewModel vm) { attrGroupRepo.Update(vm); return(RedirectToAction(nameof(Index))); }