Exemple #1
0
        public async Task <ActionResult> TemplateObjectFormatProperties(string tabId, int parentId, int id, string successfulActionCode)
        {
            var format = _formatService.ReadTemplateObjectFormatProperties(id, _formatService.IsSiteDotNetByObjectId(parentId));
            var model  = ObjectFormatViewModel.Create(format, tabId, parentId, _formatService, false);

            ViewData[SpecialKeys.IsEntityReadOnly] = format.LockedByAnyoneElse;
            model.SuccesfulActionCode = successfulActionCode;
            return(await JsonHtml("Properties", model));
        }