public ActionResult Setup(int parentId, int id, bool?boundToExternal) { var settings = _service.Setup(parentId, id, boundToExternal); return(Json(settings)); }
public ActionResult Setup(int parentId, [FromBody] SelectedItemsViewModel model, bool?boundToExternal) { return(Json(_service.Setup(parentId, 0, model.Ids, boundToExternal))); }
public ActionResult Setup(int parentId, int id, bool?boundToExternal) => Json(_service.Setup(parentId, id, boundToExternal));
public ActionResult Setup(int parentId, [Bind(Prefix = "IDs")] int[] ids, bool?boundToExternal) => new JsonNetResult(_service.Setup(parentId, 0, ids, boundToExternal));