Esempio n. 1
0
 public async Task <CommandResult> NameTodoItem([FromBody] NameTodoList cmd)
 {
     return(await _mediator.Send(cmd));
 }
Esempio n. 2
0
 public async Task <CommandResult> Handle(NameTodoList c, CancellationToken t)
 {
     return(await Execute(c, todoList => todoList.NameTodoList(c.Name)));
 }