Exemplo n.º 1
0
        private async void GetMoviesByFLastYearAndRating(int selectedLastYear, decimal selectedRating)
        {
            try
            {
                BusyIndicatorValue = true;
                List <Movie> moviesTest = await _dataService.GetSearchedMoviesLastYear(selectedLastYear, selectedRating);

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