public ActionResult Edit(Guid?id, Guid?componentId) { var model = new EditModel(); model.Load(id, componentId); model.LoadRule(); return(View(model)); }
public ActionResult Show(Guid id) { var model = new EditModel(); model.Load(id, null); model.LoadRule(); return(View(model)); }