Ejemplo n.º 1
0
        public async Task <ActionResult> MultipleSelect(string tabId, int parentId, [FromBody] SelectedItemsViewModel selModel)
        {
            var model = UserSelectableListViewModel.Create(tabId, parentId, selModel.Ids, true);

            return(await JsonHtml("MultipleSelectIndex", model));
        }
Ejemplo n.º 2
0
        public async Task <ActionResult> Select(string tabId, int parentId, int id)
        {
            var model = UserSelectableListViewModel.Create(tabId, parentId, new[] { id }, false);

            return(await JsonHtml("MultipleSelectIndex", model));
        }
Ejemplo n.º 3
0
        public ActionResult MultipleSelect(string tabId, int parentId, int[] IDs)
        {
            var model = UserSelectableListViewModel.Create(tabId, parentId, IDs, true);

            return(JsonHtml("MultipleSelectIndex", model));
        }