} // IsExistById

        public IsExistByGuidResponse IsExistByGuid(IsExistByGuidRequest request)
        {
            IsExistByGuidResponse response = new IsExistByGuidResponse();

            try
            {
                if (new Ac4yPersistentChildEFCap().IsExistByGuid(request.Guid))
                {
                    response.Result = new Ac4yProcessResult()
                    {
                        Code = Ac4yProcessResult.SUCCESS
                    }
                }
                ;
                else
                {
                    response.Result = new Ac4yProcessResult()
                    {
                        Code = Ac4yProcessResult.INEFFECTIVE
                    }
                };
            }
            catch (Exception exception)
            {
                response.Result = (new Ac4yProcessResult()
                {
                    Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace
                });
            }

            return(response);
        } // IsExistByGuid
        } // Insert

        public SetByGuidResponse SetByGuid(SetByGuidRequest request)
        {
            SetByGuidResponse response = new SetByGuidResponse();

            try
            {
                IsExistByGuidResponse isExistByGuidResponse =
                    IsExistByGuid(new IsExistByGuidRequest()
                {
                    Guid = request.Guid
                });

                if (isExistByGuidResponse.Result.Success())
                {
                    UpdateByGuidResponse updateByGuidResponse =
                        UpdateByGuid(
                            new UpdateByGuidRequest()
                    {
                        Guid = request.Guid
                        ,
                        Ac4yPersistentChild = request.Ac4yPersistentChild
                    });

                    response.Result = updateByGuidResponse.Result;
                }
                else
                {
                    InsertResponse insertResponse =
                        Insert(
                            new InsertRequest()
                    {
                        Ac4yPersistentChild = request.Ac4yPersistentChild
                    });

                    response.Result = insertResponse.Result;
                }
            }
            catch (Exception exception)
            {
                response.Result = (new Ac4yProcessResult()
                {
                    Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace
                });
            }

            return(response);
        } // SetByGuid