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 Valid_add_new_item_buylist()
        {
            _result = (GenericCommandResult)await _handler.Handle(_validCommand);

            Assert.AreEqual(_result.Success, true);
        }
Esempio n. 3
0
 public async Task <GenericCommandResult> RemoveItemListBuy([FromBody] RemoveItemBuyListCommand command, [FromServices] BuyListHandler handler)
 {
     return((GenericCommandResult)await handler.Handle(command));
 }