public async Task <bool> Logout()
        {
            try
            {
                await HttpContext.SignOutAsync(
                    CookieAuthenticationDefaults.AuthenticationScheme
                    );

                UsuarioADE usuario = await ObterUsuarioLogado();

                await ServicoUsuario.Logout(usuario);

                return(true);
            }
            catch (System.NullReferenceException)
            {
                return(false);
            }
        }