Beispiel #1
0
        public async Task <ActionResult> IndexTemplateObjectFormatVersions(string tabId, int parentId)
        {
            var result = _formatService.InitFormatVersionList();
            var model  = ObjectFormatVersionListViewModel.Create(result, tabId, parentId, true);

            return(await JsonHtml("IndexVersions", model));
        }
Beispiel #2
0
        public ActionResult IndexPageObjectFormatVersions(string tabId, int parentId)
        {
            var result = _formatService.InitFormatVersionList();
            var model  = ObjectFormatVersionListViewModel.Create(result, tabId, parentId, false);

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