}//DeletePageComposite

        public AddNewPageCompositeResponse AddNewPageComposite(AddNewPageCompositeRequest request)
        {
            AddNewPageCompositeResponse response = new AddNewPageCompositeResponse();

            try
            {
                DeletePageCompositeResponse deletePageCompositeResponse =
                    DeletePageComposite(new DeletePageCompositeRequest()
                {
                    PageTitle = request.PageTitle
                    ,
                    Password = request.Password
                    ,
                    Username = request.Username
                    ,
                    URL = request.URL
                    ,
                    SpaceKey = request.SpaceKey
                });

                IsPageExistsCompositeResponse isPageExistsCompositeResponseParentPage =
                    IsPageExistsComposite(new IsPageExistsCompositeRequest()
                {
                    PageTitle = request.ParentPageTitle
                    ,
                    Password = request.Password
                    ,
                    Username = request.Username
                    ,
                    URL = request.URL
                    ,
                    SpaceKey = request.SpaceKey
                });

                if (isPageExistsCompositeResponseParentPage.Result.Success())
                {
                    AddNewPageResponse addNewPageResponse =
                        AddNewPage(new AddNewPageRequest()
                    {
                        Password = request.Password
                        ,
                        Username = request.Username
                        ,
                        URL = request.URL
                        ,
                        SpaceKey = request.SpaceKey
                        ,
                        ParentPageId = isPageExistsCompositeResponseParentPage.isPageExistsResult.SuccessResponse.Id.ToString()
                        ,
                        PageTitle = request.PageTitle
                        , Content = request.Content
                    });

                    response.AddNewPageResult = addNewPageResponse.AddNewPageResult;

                    if (response.AddNewPageResult.FailedResponse == null)
                    {
                        response.Result = new Ac4yProcessResult()
                        {
                            Code = Ac4yProcessResult.SUCCESS
                        };
                    }
                    else
                    {
                        response.Result = new Ac4yProcessResult()
                        {
                            Code = Ac4yProcessResult.FAIL, Message = "Nem sikerült az oldalt létrehozni!"
                        };
                    }
                }
                else
                {
                    response.Result = (new Ac4yProcessResult()
                    {
                        Code = Ac4yProcessResult.FAIL, Message = "Nincs oldal a szülőoldal névvel!"
                    });
                }
            }
            catch (Exception exception)
            {
                response.Result = (new Ac4yProcessResult()
                {
                    Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace
                });
            }
            return(response);
        }//AddNewPageComposite
        }//DeletePage

        public DeletePageCompositeResponse DeletePageComposite(DeletePageCompositeRequest request)
        {
            DeletePageCompositeResponse response = new DeletePageCompositeResponse();

            try
            {
                IsPageExistsCompositeResponse isPageExistsCompositeResponse =
                    IsPageExistsComposite(new IsPageExistsCompositeRequest()
                {
                    PageTitle  = request.PageTitle
                    , Password = request.Password
                    , Username = request.Username
                    , URL      = request.URL
                    , SpaceKey = request.SpaceKey
                });

                if (isPageExistsCompositeResponse.Result.Success())
                {
                    DeletePageResponse deletePageResponse =
                        DeletePage(new DeletePageRequest()
                    {
                        PageId = isPageExistsCompositeResponse.isPageExistsResult.SuccessResponse.Id.ToString()
                        ,
                        Password = request.Password
                        ,
                        Username = request.Username
                        ,
                        URL = request.URL
                        ,
                        SpaceKey = request.SpaceKey
                    });

                    response.DeletePageResult = deletePageResponse.DeletePageResult;

                    if (response.DeletePageResult.FailedResponse == null)
                    {
                        response.Result = new Ac4yProcessResult()
                        {
                            Code = Ac4yProcessResult.SUCCESS
                        };
                    }
                    else
                    {
                        response.Result = new Ac4yProcessResult()
                        {
                            Code = Ac4yProcessResult.FAIL, Message = "Nem sikerült a törlés!"
                        };
                    }
                }
                else
                {
                    response.Result = (new Ac4yProcessResult()
                    {
                        Code = Ac4yProcessResult.FAIL, Message = "Nem létezik ilyen névvel oldal!"
                    });
                }
            }
            catch (Exception exception)
            {
                response.Result = (new Ac4yProcessResult()
                {
                    Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace
                });
            }
            return(response);
        }//DeletePageComposite