예제 #1
0
        public IActionResult Logout()
        {
            try
            {
                ulong accountId = ulong.Parse(User.Identity.Name);

                _accountsService.Clean(accountId);
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }

            return(Ok());
        }