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

            return(businessLogicLayer.AircraftIdentifierIndexWithFilterFromDal(dataAccessLayer.AircraftIdentifierIndexWithFilter(aircraftId)));
        }
예제 #2
0
        // returns a list of AircraftDetails contracts from AircraftSearchService
        // links:
        //  docLink: http://sql2x.org/documentationLink/0b582d9b-64df-473e-9f42-7ce7701e67f0
        // parameters:
        //
        public virtual List <AircraftDetailsContract> AircraftDetails()
        {
            // transfer all AircraftDetails serialized objects from AircraftSearch as AircraftDetails contracts
            var dataAccessLayer    = new SolutionNorSolutionPort.DataAccessLayer.AircraftSearch();
            var businessLogicLayer = new AircraftDetails();

            return(businessLogicLayer.AircraftDetailsFromDal(dataAccessLayer.AircraftDetails()));
        }