コード例 #1
0
ファイル: FormatController.cs プロジェクト: QuantumArt/QP
        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));
        }
コード例 #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));
        }