Esempio n. 1
0
 public async Task <IActionResult> UpdateStock([FromBody] UpdateStock.Request request,
                                               [FromServices] UpdateStock updateStock) =>
 Ok(await updateStock.Do(request));
 public Task <IEnumerable <object> > UpdateStock([FromBody] IEnumerable <Stock> stocks,
                                                 [FromServices] UpdateStock updateStock) =>
 updateStock.Do(stocks);