Пример #1
0
        public ActionResult VirtualIndex(string tabId, int parentId)
        {
            var result = ContentService.InitList(parentId, true);
            var model  = ContentListViewModel.Create(result, tabId, parentId);

            return(JsonHtml("Index", model));
        }
Пример #2
0
        public async Task <ActionResult> Index(string tabId, int parentId)
        {
            var result = ContentService.InitList(parentId);
            var model  = ContentListViewModel.Create(result, tabId, parentId);

            return(await JsonHtml("Index", model));
        }