コード例 #1
0
        public FlightController(IFlightDA flightData, IAirPortDA airportData, IAirCraftDA aircraftData, IUserDA userData, ILogError logError)
        {
            _logError     = logError;
            _flightData   = flightData;
            _airportData  = airportData;
            _aircraftData = aircraftData;
            _userData     = userData;

            _flightBL   = new FlightBL(_flightData, _logError);
            _airportBL  = new AirPortBL(_airportData, _logError);
            _aircraftBL = new AirCraftBL(_aircraftData, _logError);
            _userBL     = new UserBL(_userData, _logError);
        }
コード例 #2
0
 public FlightBL(IFlightDA data, ILogError logError)
 {
     _data     = data;
     _logError = logError;
 }