public ICorporationDomain CreateDomainCostCenterObj()
        {
            ICostCenterBLLFactory            factory       = new CostCenterBLLFactory();
            ICostCenterBLL <CostCenterModel> costCenterBll = factory.CreateBllObj();

            return(new CorporationDomain(costCenterBll));
        }
        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));
        }
Example #3
0
 public CorporationDomain(IServiceFeeConfigBLL <ServiceFeeConfigModel> serviceFeeConfigBll
                          , IServiceFeeConfigDetailsBLL <ServiceFeeConfigDetailsModel> serviceFeeConfigDetailsBll
                          , ICorporationBLL <CorporationModel> corporationBll, IProjectNameBLL <ProjectNameModel> projectNameBll,
                          ICostCenterBLL <CostCenterModel> costCenterBll, ICustomerBLL <CustomerInfoModel> customerBll)
 {
     _serviceFeeConfigBll        = serviceFeeConfigBll;
     _serviceFeeConfigDetailsBll = serviceFeeConfigDetailsBll;
     _corporationBll             = corporationBll;
     _projectNameBll             = projectNameBll;
     _costCenterBll = costCenterBll;
     _customerBll   = customerBll;
 }
        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));
        }
Example #5
0
 public CorporationDomain(IProjectNameBLL <ProjectNameModel> projectNameBll, ICostCenterBLL <CostCenterModel> costCenterBll)
 {
     _projectNameBll = projectNameBll;
     _costCenterBll  = costCenterBll;
 }
Example #6
0
 public CorporationDomain(ICostCenterBLL <CostCenterModel> costCenterBll)
 {
     _costCenterBll = costCenterBll;
 }