public void Invoke()
        {
            innerBehavior.Invoke();

            var loginResult = request.Get<LoginResultModel>();
            if(loginResult.Success)
            {
                string url = registry.UrlFor<AdminInputModel>();
                writer.RedirectToUrl(url);
            }
            else
            {
                var inputModel = new LoginInputModel();
                request.SetObject(inputModel);

                IActionBehavior partial = factory.BuildPartial(inputModel.GetType());
                partial.InvokePartial();
            }
        }