예제 #1
0
        public ActionResult LogIn(string returnUrl)
        {
            var model = new AuthIndexModel
            {
                ActivePanel = "log-in",
                ReturnUrl = returnUrl
            };

            return JsonHtml("_Auth", model);
        }
예제 #2
0
        public ActionResult SignUp()
        {
            var model = new AuthIndexModel
            {
                ActivePanel = "sign-up"
            };

            return JsonHtml("_Auth", model);
        }