常用方法
常用方法
常用方法
常用方法
public async Task <IActionResult> Logout(string returnUrl = null) { try { await _signInManager.SignOutAsync(); //login cart cookie is deleted CookieHelper helper = new CookieHelper(_accessor); helper.DeleteVisitorId(); return(RedirectToLocal(returnUrl)); } catch (Exception e) { return(AlzaError.ExceptionActionResult(e)); } }