public async Task <IActionResult> AddProduct([FromBody] ProductModel model) { await _searcher.AddDocument(model); return(Created(nameof(ProductsController.GetProductById), model.Id)); }