private async Task <object?> PublishAsync(SchemaCommand command) { var result = await sut.ExecuteAsync(CreateCommand(command)); return(result); }
private async Task <object?> PublishAsync <T>(T command) where T : SquidexCommand, IAggregateCommand { var result = await sut.ExecuteAsync(CreateCommand(command)); return(result); }