Esempio n. 1
0
 public async Task <GenericCommandResult> Delete([FromBody] DeleteBuyListCommand command, [FromServices] BuyListHandler handler)
 {
     return((GenericCommandResult)await handler.Handle(command));
 }
Esempio n. 2
0
 public async Task <GenericCommandResult> RemoveItemListBuy([FromBody] RemoveItemBuyListCommand command, [FromServices] BuyListHandler handler)
 {
     return((GenericCommandResult)await handler.Handle(command));
 }