public ActionResult MultipleSelectForUnion(string tabId, int parentId, int[] IDs) { var result = ContentService.InitList(parentId); var model = new UnionContentViewModel(result, tabId, parentId, IDs) { IsMultiple = true }; return(JsonHtml("MultiSelectIndex", model)); }
public async Task <ActionResult> MultipleSelectForUnion(string tabId, int parentId, [FromBody] SelectedItemsViewModel selModel) { var result = ContentService.InitList(parentId); var model = new UnionContentViewModel(result, tabId, parentId, selModel.Ids) { IsMultiple = true }; return(await JsonHtml("MultiSelectIndex", model)); }