Esempio n. 1
0
 public ActionResult LogOut()
 {
     SessionService.ClearCurrentUser();
     ViewBag.User = 0;
     return(RedirectToAction("UserIndex", "Diary"));
 }