コード例 #1
0
 public ParkingController(DbContext dbContext, AuthenticationService authenticationService, CommandStoreService commandStoreService, ParkingQueryHandler queryHandler, CommandRouter commandRouter)
 {
     _dbContext             = dbContext;
     _authenticationService = authenticationService;
     _commandStoreService   = commandStoreService;
     _queryHandler          = queryHandler;
     _commandRouter         = commandRouter;
 }
コード例 #2
0
 public ParkingController(
     ParkingCommandHandler commandHandler,
     ParkingQueryHandler queryHandler
     )
 {
     _commandHandler = commandHandler;
     _queryHandler   = queryHandler;
 }