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