public async Task <ActionResult> PageObjectFormatProperties(string tabId, int parentId, int id, string successfulActionCode) { var format = _formatService.ReadPageObjectFormatProperties(id, _formatService.IsSiteDotNetByObjectId(parentId)); var model = ObjectFormatViewModel.Create(format, tabId, parentId, _formatService, true); ViewData[SpecialKeys.IsEntityReadOnly] = format.LockedByAnyoneElse; model.SuccesfulActionCode = successfulActionCode; return(await JsonHtml("Properties", model)); }