public async Task <IActionResult> AddProduct([FromBody] IEnumerable <ProductModel> models) { await _searcher.AddDocuments(models); return(StatusCode(201, new { count = models.Count() })); }