public async Task <int> GetTotalLiveCourses() { using (var documentClient = _cosmosDbHelper.GetClient()) { return(await _cosmosDbHelper.GetTotalLiveCourses(documentClient, _settings.CoursesCollectionId)); } }