Ejemplo n.º 1
0
        public ActionResult LogOff(string returnUrl)
        {
            formsAuthentication.LogOff();

            return(Redirect(string.IsNullOrWhiteSpace(returnUrl) ? Url.Home() : returnUrl));
        }