Exemplo n.º 1
0
 public ActionResult SessionLogOff(string userName)
 {
     if (FormsService == null)
     {
         FormsService = new FormsAuthenticationService();
     }
     FormsService.SessionSignOut(userName);
     return(RedirectToAction("LogOn", "Account"));
 }