Example #1
0
        public async Task <bool> Login()
        {
            if (Sessao.spotify == null || !Sessao.spotify.logged)
            {
                var spotify    = new SpotifyHelper();
                var estaLogado = await spotify.Login();

                if (estaLogado)
                {
                    Sessao.spotify = spotify;
                }

                return(estaLogado);
            }

            return(true);
        }