} // GetById

/*
 *      public GetByGuidResponse GetByGuid(GetByGuidRequest request)
 *      {
 *
 *          GetByGuidResponse response = new GetByGuidResponse();
 *
 *          try
 *          {
 *
 *              response.AuthenticationRequest = new AuthenticationRequestCap().GetByGuid(request.Guid);
 *
 *              response.Result = new Ac4yProcessResult() { Code = Ac4yProcessResult.SUCCESS };
 *
 *          }
 *          catch (Exception exception)
 *          {
 *              response.Result = (new Ac4yProcessResult() { Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace });
 *          }
 *
 *          return response;
 *
 *      } // GetByGuid
 */
        public IsExistByIdResponse IsExistById(IsExistByIdRequest request)
        {
            IsExistByIdResponse response = new IsExistByIdResponse();

            try
            {
                if (new AuthenticationRequestCap().IsExistById(request.Id))
                {
                    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);
        } // IsExistById
 public IsExistByIdResponse IsExistById(IsExistByIdRequest request)
 {
     return new Ac4yPersistentChildEFService().IsExistById(request);
 }