Esempio n. 1
0
 public AircraftRepository()
 {
     this.xmlHelper = new XmlRepositoryHelper <Aircraft>(@"SampleData\Aircrafts.xml");
 }
 public FlightRepository(IAircraftRepository aircraftRepository, IAirportRepository airportRepository)
 {
     this.xmlHelper          = new XmlRepositoryHelper <PersistenceFlight>(@"SampleData\Flights.xml");
     this.aircraftRepository = aircraftRepository;
     this.airportRepository  = airportRepository;
 }