public async Task CerrarSesion()
        {
            await this.authApi.CerrarSesion();

            this.datosSesion = null;

            this.NotifyAuthenticationStateChanged(this.GetAuthenticationStateAsync());
        }
        public async Task <SesionActualResponse> ObtenerSesionActual()
        {
            if (this.datosSesion == null || !this.datosSesion.IsAuthenticated)
            {
                this.datosSesion = await this.authApi.ObtenerSesion();
            }

            return(this.datosSesion);
        }