示例#1
0
        public ActionResult LogOut(DirectLinkOptions directLinkOptions)
        {
            var loginUrl = QPContext.LogOut();

            if (directLinkOptions != null)
            {
                loginUrl = directLinkOptions.AddToUrl(loginUrl);
            }

            return(Redirect(loginUrl));
        }
示例#2
0
 public ActionResult LogOut(DirectLinkOptions directLinkOptions)
 {
     QPContext.LogOut();
     return(RedirectToAction("Index"));
 }