public ParkingController(DbContext dbContext, AuthenticationService authenticationService, CommandStoreService commandStoreService, ParkingQueryHandler queryHandler, CommandRouter commandRouter) { _dbContext = dbContext; _authenticationService = authenticationService; _commandStoreService = commandStoreService; _queryHandler = queryHandler; _commandRouter = commandRouter; }
public ParkingController( ParkingCommandHandler commandHandler, ParkingQueryHandler queryHandler ) { _commandHandler = commandHandler; _queryHandler = queryHandler; }