예제 #1
0
 public Task <Todo> AddOrUpdateAsync([FromBody] AddOrUpdateTodoCommand command, CancellationToken cancellationToken = default)
 {
     command.UseDefaultSession(_sessionResolver);
     return(_todos.AddOrUpdateAsync(command, cancellationToken));
 }