public async Task <Course> GetCourse(string id) { _logger.LogInformation("Begin CoursesController GET Course by id"); var item = await _dbClient.GetCourse(id.ToUpper()); _logger.LogInformation("Finish CoursesController GET Course by id"); return(item); }
public async Task TestGetCourse() { var result = await _client.GetCourse("Test Id 1"); ValidateCourse(result, testCourse1); }