private void BeginRequest(IContainerAdapter adapter)
        {
            if (isFirstWebRequest)
            {
                adapter.BeforeAllWebRequests(helper);
                isFirstWebRequest = false;
            }

            this.helper.BeginWebRequest();
            adapter.AfterBeginWebRequest();
        }
        private void BeginRequest(IContainerAdapter adapter)
        {
            if (isFirstWebRequest) {
                adapter.BeforeAllWebRequests(helper);
                isFirstWebRequest = false;
            }

            this.helper.BeginWebRequest();
            adapter.AfterBeginWebRequest();
        }