public async Task <CourseSearchResult> SearchCoursesAsync(CourseSearchProperties courseSearchProperties)
        {
            var result = await tolerancePolicy.ExecuteAsync(async() => await apiService.SearchCoursesAsync(mapper.Map <FindACourseClient.CourseSearchProperties>(courseSearchProperties)).ConfigureAwait(false), Constants.CourseSearchEndpointConfigName, FaultToleranceType.CircuitBreaker).ConfigureAwait(false);

            return(mapper.Map <CourseSearchResult>(result));
        }
 public async Task <CourseSearchResult> RetrieveData(CourseSearchProperties properties)
 {
     return(await courseSearchApiService.SearchCoursesAsync(properties).ConfigureAwait(false));
 }