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)); }
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)); }