public IActionResult GetProduct(int id, [FromServices] GetProduct getProduct) { return(Ok(getProduct.Exec(id))); }