public async Task Post() { for (int i = 0; i < 100; i++) { await _elasticSearchService.IndexBook(new Book() { Author = "Test" + i, Title = "Title" + i, Description = "This is a test" }); } }