//Updates a status document
        public Status PutStatus(Status status)
        {
            var cs = Services.ContentService;
            var content = cs.GetById(status.Id);
            content.Name = status.Title;
            content.SetValue(MessagePropertyAlias, status.Message);
            cs.SaveAndPublish(content);
            return status;

        }
 //Creates a new status document under the specified parent 
 public Status PostStatus(Status status, int parentId)
 {
     var cs = Services.ContentService;
     var content = cs.CreateContent(status.Title, parentId, StatusDocTypeAlias);
     content.Name = status.Title;
     content.SetValue(MessagePropertyAlias, status.Message);
     cs.SaveAndPublish(content);
     status.Id = content.Id;
     return status;
 
 }