public ICorporationDomain CreateDomainProjectNameObj() { IProjectNameBLLFactory factory = new ProjectNameBLLFactory(); IProjectNameBLL <ProjectNameModel> projectNameBll = factory.CreateBllObj(); return(new CorporationDomain(projectNameBll)); }
public ICorporationDomain CreateDomainProjectNameAndCostCenterObj() { IProjectNameBLLFactory projectNameBllFactory = new ProjectNameBLLFactory(); IProjectNameBLL <ProjectNameModel> projectNameBll = projectNameBllFactory.CreateBllObj(); ICostCenterBLLFactory consCostCenterBllFactory = new CostCenterBLLFactory(); ICostCenterBLL <CostCenterModel> costCenterBll = consCostCenterBllFactory.CreateBllObj(); return(new CorporationDomain(projectNameBll, costCenterBll)); }
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)); }
public ICorporationDomain CreateComfireOrderViewObj() { IProjectNameBLLFactory projectNameBllFactory = new ProjectNameBLLFactory(); IProjectNameBLL <ProjectNameModel> projectNameBll = projectNameBllFactory.CreateBllObj(); ICostCenterBLLFactory consCostCenterBllFactory = new CostCenterBLLFactory(); ICostCenterBLL <CostCenterModel> costCenterBll = consCostCenterBllFactory.CreateBllObj(); IServiceFeeConfigBLLFactory serviceFeeConfigBllFactory = new ServiceFeeConfigBLLFactory(); IServiceFeeConfigBLL <ServiceFeeConfigModel> serviceFeeConfigBll = serviceFeeConfigBllFactory.CreateBllObj(); IServiceFeeConfigDetailsBLLFactory serviceFeeConfigDetailsBllFactory = new ServiceFeeConfigDetailsBLLFactory(); IServiceFeeConfigDetailsBLL <ServiceFeeConfigDetailsModel> serviceFeeConfigDetailsBll = serviceFeeConfigDetailsBllFactory.CreateBllObj(); ICorporationBLLFactory corporationBllFactory = new CorporationBLLFactory(); ICorporationBLL <CorporationModel> corporationBll = corporationBllFactory.CreateBllObj(); ICustomerBLLFactory customerBllFactory = new CustomerBLLFactory(); ICustomerBLL <CustomerInfoModel> customerBll = customerBllFactory.CreateBllObj(); return(new CorporationDomain(serviceFeeConfigBll, serviceFeeConfigDetailsBll, corporationBll, projectNameBll, costCenterBll, customerBll)); }
public IOrderDomain CreateAppOrderInfoDomainObj() { ICustomerBLLFactory factory = new CustomerBLLFactory(); ICustomerBLL <CustomerInfoModel> customerBll = factory.CreateBllObj(); ITraOrderBLLFactory orderBllFactory = new TraOrderBLLFactory(); ITraOrderBLL <TraOrderModel> orderBll = orderBllFactory.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(); ITraModOrderBLLFactory modOrderBllFactory = new TraModOrderBLLFactory(); ITraModOrderBLL <TraModOrderModel> traModOrderBll = modOrderBllFactory.CreateBllObj(); ITraModOrderDetailBLLFactory traModOrderDetailBllFactory = new TraModOrderDetailBLLFactory(); ITraModOrderDetailBLL <TraModOrderDetailModel> traModOrderDetailBll = traModOrderDetailBllFactory.CreateBllObj(); IGetCorpAduitOrderServiceBll _getCorpAduitOrderServiceBll = new GetCorpAduitOrderServiceBllFactory().CreateObj(); return(new OrderDomain(orderBll, orderStatusBll, orderDetailBll, passengerBll, customerBll, projectNameBll, traInterFaceOrderServerBll, traModOrderBll, traModOrderDetailBll, _getCorpAduitOrderServiceBll)); }