public TicketService(IUsitData usitData) { if (usitData == null) { throw new NullReferenceException("UsitData"); } this.usitData = usitData; }
public CountryService(ILocationFactory locationFactory, IUsitData usitData) { if (usitData == null) { throw new NullReferenceException("UsitData"); } if (locationFactory == null) { throw new NullReferenceException("LocationFactory"); } this.usitData = usitData; this.locationFactory = locationFactory; }
public UserService(IUsitData usitData, ITicketFactory ticketFactory) { if (usitData == null) { throw new NullReferenceException("UsitData"); } if (ticketFactory == null) { throw new NullReferenceException("TicketFactory"); } this.ticketFactory = ticketFactory; this.usitData = usitData; }
public AirlineService(IUsitData usitData, IAirlineFactory airlineFactory) { if (usitData == null) { throw new NullReferenceException("UsitData"); } if (airlineFactory == null) { throw new NullReferenceException("AirlineFactory"); } this.usitData = usitData; this.airlineFactory = airlineFactory; }
public FlightService(IMappedClassFactory mappedFlightFactory, IUsitData usitData) { if (usitData == null) { throw new NullReferenceException("UsitData"); } if (mappedFlightFactory == null) { throw new NullReferenceException("MappedFactory"); } this.usitData = usitData; this.mappedFlightFactory = mappedFlightFactory; }