public async Task <List <Course> > Get()
        {
            _logger.LogInformation("Begin CoursesController GET All Courses");
            var items = await _dbClient.GetCourses();

            _logger.LogInformation("Finish CoursesController GET All Courses");

            return(items);
        }
        public async Task TestGetCourses()
        {
            try
            {
                var result = await _client.GetCourses();
            }
            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);
        }