Exemplo n.º 1
0
 public ActionResult Logout()
 {
     _cartService.ClearCart(LoginUserInfo.UserId, LoginUserInfo.CartId);
     _authService.ClearUserData();
     return(RedirectToAction("Index", "Store"));
 }
Exemplo n.º 2
0
 public ActionResult Logout()
 {
     _authService.ClearUserData();
     return(RedirectToAction("Login", "Home"));
 }