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

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