public async Task <IActionResult> Logout() { var token = await HttpTools.GetTokenRequest(HttpContext); await _mediator.Publish(new LogoutCommand() { Token = token }); return(Ok()); }