public ActionResult Index(string tabId, int parentId) { var result = FieldService.InitList(parentId); var model = FieldListViewModel.Create(result, tabId, parentId); return(JsonHtml("Index", model)); }
public ActionResult MultipleSelectForExportExpanded(string tabId, int parentId, int[] IDs) { var result = FieldService.InitList(parentId); var model = new FieldSelectableListViewModel(result, tabId, parentId, IDs, ActionCode.MultipleSelectFieldForExportExpanded) { IsMultiple = true }; return(JsonHtml("MultiSelectIndex", model)); }
public async Task <ActionResult> MultipleSelectForExportExpanded(string tabId, int parentId, [FromBody] SelectedItemsViewModel selModel) { var result = FieldService.InitList(parentId); var model = new FieldSelectableListViewModel(result, tabId, parentId, selModel.Ids, ActionCode.MultipleSelectFieldForExportExpanded) { IsMultiple = true }; return(await JsonHtml("MultiSelectIndex", model)); }