public async Task <List <Course> > GetRecommendations()
        {
            _logger.LogInformation("Begin CoursesController GET Recommendations");
            var items = await _dbClient.GetRecommendations();

            _logger.LogInformation("Finish CoursesController GET Recommendations");

            return(items);
        }
        public async Task TestGetRecommendation()
        {
            try
            {
                var result = await _client.GetRecommendations();
            }
            catch (NullReferenceException e)
            {
                //Cannot fully test current version of AWS SDK.
            }

            _context.Verify(c => c.ScanAsync <Course>(It.IsAny <List <ScanCondition> >(), It.IsAny <DynamoDBOperationConfig>()), Times.Once);
        }