示例#1
0
        public ITraPassengerBLL <TraPassengerModel> CreateGetPassengerByOrderIdBllObj()
        {
            ITraPassengerDALFactory   dal = new TraPassengerDALFactory();
            ITraOrderDetailDALFactory traOrderDetailDalFactory = new TraOrderDetailDALFactory();

            return(new TraPassengerBLL(dal.CreateSampleDalObj(), traOrderDetailDalFactory.CreateSampleDalObj()));
        }
示例#2
0
        public ITraPassengerBLL <TraPassengerModel> CreateBllObj()
        {
            ITraPassengerDALFactory dal = new TraPassengerDALFactory();

            return(new TraPassengerBLL(dal.CreateSampleDalObj()));
        }