public HttpResponseMessage PublishPage(PublishPageDto dto)
        {
            var tabId = Request.FindTabId();

            TabPublishingController.Instance.SetTabPublishing(tabId, PortalId, dto.Publish);

            return(Request.CreateResponse(HttpStatusCode.OK));
        }
 public HttpResponseMessage PublishPage(PublishPageDto dto)
 {
     var tabId = Request.FindTabId();
     
     TabPublishingController.Instance.SetTabPublishing(tabId, PortalId, dto.Publish);
     
     return Request.CreateResponse(HttpStatusCode.OK);
 }