Exemple #1
0
        private async void GetMoviesByName(string name)
        {
            try
            {
                BusyIndicatorValue = true;
                List <Movie> moviesTest = await _dataService.GetMoviesByName(name);

                Movies             = new ObservableCollection <Movie>(moviesTest);
                BusyIndicatorValue = false;
            }
            catch (ServiceRequestException)
            {
                RaiseNotificationServer();
            }
            catch (Exception e)
            {
                _logger.ErrorException(ForExceptions, e);
            }
        }