Пример #1
0
        public async Task GetFilmList()
        {
            IsBusy = true;
            if (!(Connectivity.NetworkAccess == NetworkAccess.Internet))
            {
                await AlertService.DisplayAlertAsync("Error", "No internet connection, try later.", "Ok");
            }
            else
            {
                var getfilms = await _filmService.GetFilmAsync();

                FilmsCollection = getfilms.ResultsFilms;
            }
            IsBusy = false;
        }