public async Task <IActionResult> GetStocks([FromServices] GetStocks getStocks) => Ok(await getStocks.Do());
Beispiel #2
0
 public IActionResult GetStock([FromServices] GetStocks getStocks) =>
 Ok(getStocks.Do());
 public IActionResult GetProducts([FromServices] GetStocks getProducts) =>
 Ok(getProducts.Do());