Exemple #1
0
        // returns a list of FlightScheduleHistory contracts
        // links:
        //  docLink: http://sql2x.org/documentationLink/eb26aecd-6edc-44ae-938f-42f53929062d
        // parameters:
        //  flightScheduleId: filter by this key
        public List <FlightScheduleHistoryContract> FlightScheduleHistory(System.Guid flightScheduleId)
        {
            // transfer all FlightScheduleHistory serialized objects from ScheduleSearch as FlightScheduleHistory contracts
            var dataAccessLayer    = new SolutionNorSolutionPort.DataAccessLayer.ScheduleSearch();
            var businessLogicLayer = new FlightScheduleHistory();

            return(businessLogicLayer.FlightScheduleHistoryFromDal(dataAccessLayer.FlightScheduleHistory(flightScheduleId)));
        }
Exemple #2
0
        // returns a list of FlightSchedule contracts from ScheduleSearchService
        // links:
        //  docLink: http://sql2x.org/documentationLink/0b582d9b-64df-473e-9f42-7ce7701e67f0
        // parameters:
        //
        public virtual List <FlightScheduleContract> FlightSchedule()
        {
            // transfer all FlightSchedule serialized objects from ScheduleSearch as FlightSchedule contracts
            var dataAccessLayer    = new SolutionNorSolutionPort.DataAccessLayer.ScheduleSearch();
            var businessLogicLayer = new FlightSchedule();

            return(businessLogicLayer.FlightScheduleFromDal(dataAccessLayer.FlightSchedule()));
        }