Example #1
0
        public async Task <ActionResult> TemplateObjectFormatVersionProperties(string tabId, int parentId, int id, string successfulActionCode)
        {
            var version = _formatService.ReadTemplateObjectFormatVersionProperties(id);
            var model   = ObjectFormatVersionViewModel.Create(version, tabId, parentId, false);

            ViewData[SpecialKeys.IsEntityReadOnly] = true;
            model.SuccesfulActionCode = successfulActionCode;
            return(await JsonHtml("VersionProperties", model));
        }