Exemplo n.º 1
0
 public StaffUserController(
     IMongoDatabase database,
     IQueryCoordinator queryCoordinator,
     IRegisteringCommandHandlers stafffUserCommandHandler
     )
 {
     _database                = database;
     _queryCoordinator        = queryCoordinator;
     _staffUserCommandHandler = stafffUserCommandHandler;
 }
Exemplo n.º 2
0
 public TestDataGeneratorController(
     IMongoDatabase database,
     Domain.DataCollector.IDataCollectorCommandHandler dataCollectorCommandHandler,
     IRegisteringCommandHandlers staffUserCommandHandler
     )
 {
     _database = database;
     _staffUserCommandHandler     = staffUserCommandHandler;
     _dataCollectorCommandHandler = dataCollectorCommandHandler;
 }