public FlightProvider(jetstrea_LogbookEntities context, IEntityProvider <Airfield> airfieldProvider, IEntityProvider <Aircraft> aircraftProvider) { Condition.Requires(context, nameof(context)).IsNotNull(); Condition.Requires(airfieldProvider, nameof(airfieldProvider)).IsNotNull(); Condition.Requires(aircraftProvider, nameof(aircraftProvider)).IsNotNull(); _context = context; _airfieldProvider = airfieldProvider; _aircraftProvider = aircraftProvider; }
public AircraftProvider(jetstrea_LogbookEntities context) { Condition.Requires(context, nameof(context)).IsNotNull(); _context = context; }