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