public IOrderDomain CreateModOrderListDomainObj() { ITraModOrderListBLLFactory orderBllFactory = new TraModOrderBLLFactory(); ITraOrderListBLL <TraModOrderListDataModel> traModOrderListBll = orderBllFactory.CreateBllObj(); ITraModOrderDetailBLLFactory traModOrderDetailBllFactory = new TraModOrderDetailBLLFactory(); ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll = traModOrderDetailBllFactory.CreateBllObj(); ITraPassengerBLLFactory passengerBllFactory = new TraPassengerBLLFactory(); ITraPassengerBLL <TraPassengerModel> passengerBll = passengerBllFactory.CreateBllObj(); return(new OrderDomain(traModOrderListBll, traModOrderDetailBll, passengerBll)); }
public IOrderDomain CreateRetOrderListDomainObj() { ITraOrderListBLLFactory orderListBllFactory = new TraOrderBLLFactory(); ITraOrderListBLL <TraOrderListDataModel> orderListBll = orderListBllFactory.CreateBllObj(); ITraOrderStatusBLLFactory orderStatusBllFactory = new TraOrderStatusBLLFactory(); ITraOrderStatusBLL <TraOrderStatusModel> orderStatusBll = orderStatusBllFactory.CreateBllObj(); ITraOrderDetailBLLFactory orderDetailBllFactory = new TraOrderDetailBLLFactory(); ITraOrderDetailBLL <TraOrderDetailModel> orderDetailBll = orderDetailBllFactory.CreateBllObj(); ITraPassengerBLLFactory passengerBllFactory = new TraPassengerBLLFactory(); ITraPassengerBLL <TraPassengerModel> passengerBll = passengerBllFactory.CreateBllObj(); IProjectNameBLLFactory projectNameBllFactory = new ProjectNameBLLFactory(); IProjectNameBLL <ProjectNameModel> projectNameBll = projectNameBllFactory.CreateBllObj(); ITraInterFaceOrderServerBLLFactory traInterFaceOrderServerBllFactory = new TraInterFaceOrderServerBLLFactory(); ITraInterFaceOrderServerBLL <TraInterFaceOrderModel> traInterFaceOrderServerBll = traInterFaceOrderServerBllFactory.CreateBllObj(); return(new OrderDomain(orderListBll, orderStatusBll, orderDetailBll, passengerBll, projectNameBll, traInterFaceOrderServerBll)); }