public CreateFleetCommandHandler(IFleetRepository fleetRepository) { DefProg.For(fleetRepository, "fleetRepository").IsNotNull(); this._fleetRepository = fleetRepository; }
public DeleteDriverCommandHandler(IDriverRepository driverRepository) { DefProg.For(driverRepository, "DriverRepository").IsNotNull(); this._driverRepository = driverRepository; }
public CreateUserCommandHandler(IUserRepository userRepository) { DefProg.For(userRepository, "UserRepository").IsNotNull(); this._userRepository = userRepository; }
public CreateVehicleCommandHandler(IVehicleRepository vehicleRepository) { DefProg.For(vehicleRepository, "vehicleRepository").IsNotNull(); this._vehicleRepository = vehicleRepository; }