Esempio n. 1
0
        public async Task <ActionResult> IndexTemplateObjectFormats(string tabId, int parentId)
        {
            var result = _formatService.InitFormatList(parentId, true);
            var model  = ObjectFormatListViewModel.Create(result, tabId, parentId, true);

            return(await JsonHtml("Index", model));
        }
Esempio n. 2
0
        public ActionResult IndexPageObjectFormats(string tabId, int parentId)
        {
            var result = _formatService.InitFormatList(parentId, false);
            var model  = ObjectFormatListViewModel.Create(result, tabId, parentId, false);

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