-
Notifications
You must be signed in to change notification settings - Fork 3
Experiments command insert
Petr Štechmüller edited this page Aug 29, 2020
·
2 revisions
Description: process for creating new experiment
ExperimentInsertCommand
class ExperimentInsertHandler implements ICommandHandler<ExperimentInsertCommand, number>
- ExperimentsService
- CommandBus
- EventBus
Name | Type | Mandatory |
---|---|---|
experiment | Experiment | true |
userID | number | true |
number
- ID of inserted experiment
- ExperimentNotValidException
- ExperimentWasNotCreatedException