public IActionResult Logout() { try { ulong accountId = ulong.Parse(User.Identity.Name); _accountsService.Clean(accountId); } catch (Exception ex) { return(BadRequest(ex.Message)); } return(Ok()); }