Exemplo n.º 1
0
        // returns a list of AircraftPIMDetails contracts
        // links:
        //  docLink: http://sql2x.org/documentationLink/eb26aecd-6edc-44ae-938f-42f53929062d
        // parameters:
        //
        public List <AircraftPIMDetailsContract> AircraftPIMDetails()
        {
            // transfer all AircraftPIMDetails serialized objects from AircraftMaintenanceSearch as AircraftPIMDetails contracts
            var dataAccessLayer    = new SolutionNorSolutionPort.DataAccessLayer.AircraftMaintenanceSearch();
            var businessLogicLayer = new AircraftPIMDetails();

            return(businessLogicLayer.AircraftPIMDetailsFromDal(dataAccessLayer.AircraftPIMDetails()));
        }
Exemplo n.º 2
0
        // returns a list of AircraftMaintenanceDocumentIndexWithFilter contracts from AircraftMaintenanceSearchService
        // links:
        //  docLink: http://sql2x.org/documentationLink/0b582d9b-64df-473e-9f42-7ce7701e67f0
        // parameters:
        //  aircraftId: filter by this key
        public virtual List <AircraftMaintenanceDocumentIndexWithFilterContract> AircraftMaintenanceDocumentIndexWithFilter(System.Guid aircraftId)
        {
            // transfer all AircraftMaintenanceDocumentIndexWithFilter serialized objects from AircraftMaintenanceSearch as AircraftMaintenanceDocumentIndexWithFilter contracts
            var dataAccessLayer    = new SolutionNorSolutionPort.DataAccessLayer.AircraftMaintenanceSearch();
            var businessLogicLayer = new AircraftMaintenanceDocumentIndexWithFilter();

            return(businessLogicLayer.AircraftMaintenanceDocumentIndexWithFilterFromDal(dataAccessLayer.AircraftMaintenanceDocumentIndexWithFilter(aircraftId)));
        }