Ejemplo n.º 1
0
 public CustomerDomain(ICustomerBLL <CustomerInfoModel> customerBll
                       , ICorpDepartmentBLL <CorpDepartmentModel> corpDepartmentBll, ICustomerUnionBLL <CustomerUnionInfoModel> customerUnionBll
                       , ICorporationBLL <CorporationModel> corporationBll)
 {
     _customerBll       = customerBll;
     _corpDepartmentBll = corpDepartmentBll;
     _customerUnionBll  = customerUnionBll;
     _corporationBll    = corporationBll;
 }
Ejemplo n.º 2
0
        public ICustomerDomain CreateQueryTravelViewDomainObj()
        {
            ICustomerBLLFactory customerBllFactory = new CustomerBLLFactory();
            ICustomerBLL <CustomerInfoModel>         customerBll = customerBllFactory.CreateBllObj();
            ICorpDepartmentBLLFactory                corpDepartmentBllFactory = new CorpDepartmentBLLFactory();
            ICorpDepartmentBLL <CorpDepartmentModel> corpDepartmentBll        = corpDepartmentBllFactory.CreateBllObj();
            ICustomerUnionBLLFactory customerUnionBllFactory            = new CustomerBLLFactory();
            ICustomerUnionBLL <CustomerUnionInfoModel> customerUnionBll = customerUnionBllFactory.CreateBllObj();
            ICorporationBLLFactory             corporationBllFactory    = new CorporationBLLFactory();
            ICorporationBLL <CorporationModel> corporationBll           = corporationBllFactory.CreateBllObj();

            return(new CustomerDomain(customerBll, corpDepartmentBll, customerUnionBll, corporationBll));
        }