public DecisionController(
     IApplicationContext appicationContext,
     IDecisionBLL decisionBLL,
     ICouncilTypeBLL councilTypeBLL,
     ICountryBLL countryBLL,
     IDecisionTypeBLL decisionTypeBLL,
     IActivitySectorBLL activitySectorBLL,
     IMainCategoryBLL mainCategoryBLL,
     ICompanyBLL companyBLL,
     IDepartmentBLL departmentBLL,
     IDecisionExecutionBLL decisionExecutionBLL,
     IDepartmentResponsibleBLL departmentResponsibleBLL,
     ISubCategoryBLL subCategoryBLL)
 {
     this._decisionBLL         = decisionBLL;
     this._mainCategoryBLL     = mainCategoryBLL;
     this._subCategoryBLL      = subCategoryBLL;
     _countryBLL               = countryBLL;
     _decisionTypeBLL          = decisionTypeBLL;
     _activitySectorBLL        = activitySectorBLL;
     _companyBLL               = companyBLL;
     _departmentBLL            = departmentBLL;
     _decisionExecutionBLL     = decisionExecutionBLL;
     _departmentResponsibleBLL = departmentResponsibleBLL;
     _councilTypeBLL           = councilTypeBLL;
     _appicationContext        = appicationContext;
 }
Ejemplo n.º 2
0
 public void TestCleanup()
 {
     _logger     = null;
     _uow        = null;
     _repository = null;
     _companyBll = null;
 }
Ejemplo n.º 3
0
 public CompanyController(
     IApplicationContext appicationContext,
     ICompanyBLL CompanyBLL)
 {
     _CompanyBLL        = CompanyBLL;
     _appicationContext = appicationContext;
 }
Ejemplo n.º 4
0
 public ComplaintController(IComplaintBLL bLL, ICompanyBLL bLL1, IValidator <Complaint> validator, ILogger <ComplaintController> logger)
 {
     complaintBLL   = bLL;
     companyBLL     = bLL1;
     _compValidator = validator;
     this._logger   = logger;
 }
 public HeaderFooterController(IPageBLL pageBLL, IHeaderFooterBLL headerFooterBll, ICompanyBLL companyBll, IChangesHistoryBLL changesHistoryBll)
     : base(pageBLL, Enums.MenuList.HeaderFooter)
 {
     _headerFooterBll   = headerFooterBll;
     _companyBll        = companyBll;
     _changesHistoryBll = changesHistoryBll;
     _mainMenu          = Enums.MenuList.MasterData;
 }
 public VirtualMappingPlantController(IVirtualMappingPlantBLL vitVirtualMappingPlanBll, ICompanyBLL companyBll, IUnitOfMeasurementBLL uomBll, IMasterDataBLL masterData, IChangesHistoryBLL changeLogHistoryBLL, IPageBLL pageBLL)
     : base(pageBLL, Enums.MenuList.VirtualMappingPlant)
 {
     _virtualMappingPlanBll = vitVirtualMappingPlanBll;
     _masterDataBll         = masterData;
     _changesHistoryBLL     = changeLogHistoryBLL;
     //_plantList = _masterDataBll.get;
     _mainMenu   = Enums.MenuList.MasterData;
     _uomBll     = uomBll;
     _companyBll = companyBll;
 }
Ejemplo n.º 7
0
        public void SetUp()
        {
            EMSWebsiteMapper.Initialize();

            _logger     = Substitute.For <ILogger>();
            _uow        = Substitute.For <IUnitOfWork>();
            _repository = Substitute.For <IGenericRepository <T001> >();
            var companyData = FakeStuffs.GetCompany();

            _uow.GetGenericRepository <T001>().ReturnsForAnyArgs(_repository);
            _repository.GetQuery().ReturnsForAnyArgs(companyData.AsQueryable());

            _companyBll = new CompanyBLL(_uow, _logger);
        }
Ejemplo n.º 8
0
 public NPPBKCController(IZaidmExNPPBKCBLL nppbkcBll, IChangesHistoryBLL changesHistoryBll, ICompanyBLL companyBll, IMasterDataBLL masterData, IZaidmExKPPBCBLL kppbcBll,
                         IPageBLL pageBLL, IPlantBLL plantBll)
     : base(pageBLL, Enums.MenuList.NPPBKC)
 {
     _nppbkcBll         = nppbkcBll;
     _masterDataBll     = masterData;
     _companyBll        = companyBll;
     _kppbcBll          = kppbcBll;
     _plantBll          = plantBll;
     _changesHistoryBll = changesHistoryBll;
     _mainMenu          = Enums.MenuList.MasterData;
     refService         = new SystemReferenceService();
     service            = new NppbkcManagementService();
 }
 public ProductionController(IPageBLL pageBll, IProductionBLL productionBll, ICompanyBLL companyBll, IPlantBLL plantBll, IUnitOfMeasurementBLL uomBll,
                             IBrandRegistrationBLL brandRegistrationBll, IChangesHistoryBLL changeHistorybll, IUserPlantMapBLL userPlantMapBll, IPOAMapBLL poaMapBll, IMonthBLL monthBll, IMonthClosingBLL monthClosingBll)
     : base(pageBll, Enums.MenuList.CK4C)
 {
     _productionBll        = productionBll;
     _mainMenu             = Enums.MenuList.CK4C;
     _companyBll           = companyBll;
     _plantBll             = plantBll;
     _uomBll               = uomBll;
     _brandRegistrationBll = brandRegistrationBll;
     _changeHistoryBll     = changeHistorybll;
     _userPlantMapBll      = userPlantMapBll;
     _poaMapBll            = poaMapBll;
     _monthBll             = monthBll;
     _monthClosingBll      = monthClosingBll;
 }
Ejemplo n.º 10
0
 public WasteController(IPageBLL pageBll, IWasteBLL wasteBll, ICompanyBLL companyBll, IPlantBLL plantBll,
                        IUnitOfMeasurementBLL uomBll, IBrandRegistrationBLL brandRegistrationBll, IChangesHistoryBLL changesHistoryBll,
                        IWasteStockBLL wasteStockBll, IMaterialBLL materialBll, IUserPlantMapBLL userPlantMapBll, IPOAMapBLL poaMapBll, IMonthBLL monthBll, IMonthClosingBLL monthClosingBll)
     : base(pageBll, Enums.MenuList.CK4C)
 {
     _wasteBll             = wasteBll;
     _mainMenu             = Enums.MenuList.CK4C;
     _companyBll           = companyBll;
     _plantBll             = plantBll;
     _uomBll               = uomBll;
     _brandRegistrationBll = brandRegistrationBll;
     _changeHistoryBll     = changesHistoryBll;
     _wasteStockBll        = wasteStockBll;
     _materialBll          = materialBll;
     _userPlantMapBll      = userPlantMapBll;
     _poaMapBll            = poaMapBll;
     _monthBll             = monthBll;
     _monthClosingBll      = monthClosingBll;
 }
Ejemplo n.º 11
0
 public WasteBLL(ILogger logger, IUnitOfWork uow)
 {
     _logger               = logger;
     _uow                  = uow;
     _repository           = _uow.GetGenericRepository <WASTE>();
     _repositoryBrand      = _uow.GetGenericRepository <ZAIDM_EX_BRAND>();
     _repositoryGood       = _uow.GetGenericRepository <ZAIDM_EX_GOODTYP>();
     _repositoryUom        = _uow.GetGenericRepository <UOM>();
     _repositoryPlant      = uow.GetGenericRepository <T001W>();
     _repositoryCompany    = _uow.GetGenericRepository <T001>();
     _changesHistoryBll    = new ChangesHistoryBLL(uow, logger);
     _companyBll           = new CompanyBLL(_uow, _logger);
     _plantBll             = new PlantBLL(_uow, _logger);
     _brandRegistrationBll = new BrandRegistrationBLL(_uow, _logger);
     _userPlantBll         = new UserPlantMapBLL(_uow, _logger);
     _poaMapBll            = new POAMapBLL(_uow, _logger);
     _wasteStockBll        = new WasteStockBLL(_uow, _logger);
     _materialBll          = new MaterialBLL(_uow, _logger);
     _monthClosingBll      = new MonthClosingBLL(_uow, _logger);
 }
Ejemplo n.º 12
0
 public ProductionBLL(ILogger logger, IUnitOfWork uow)
 {
     _logger               = logger;
     _uow                  = uow;
     _repository           = _uow.GetGenericRepository <PRODUCTION>();
     _repositoryBrand      = _uow.GetGenericRepository <ZAIDM_EX_BRAND>();
     _repositoryProd       = _uow.GetGenericRepository <ZAIDM_EX_PRODTYP>();
     _repositoryUom        = _uow.GetGenericRepository <UOM>();
     _repositoryPlant      = _uow.GetGenericRepository <T001W>();
     _changesHistoryBll    = new ChangesHistoryBLL(_uow, _logger);
     _companyBll           = new CompanyBLL(_uow, _logger);
     _plantBll             = new PlantBLL(_uow, _logger);
     _brandRegistrationBll = new BrandRegistrationBLL(_uow, _logger);
     _wasteBll             = new WasteBLL(_logger, _uow);
     _uomBll               = new UnitOfMeasurementBLL(uow, _logger);
     _userPlantBll         = new UserPlantMapBLL(_uow, _logger);
     _poaMapBll            = new POAMapBLL(_uow, _logger);
     _ck4cItemBll          = new CK4CItemBLL(_uow, _logger);
     _reversalBll          = new ReversalBLL(_logger, _uow);
     _monthClosingBll      = new MonthClosingBLL(_uow, _logger);
 }
Ejemplo n.º 13
0
 public AddAreaAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
Ejemplo n.º 14
0
 public CompanyController(ICompanyBLL company)
 {
     companyBLL = company;
 }
Ejemplo n.º 15
0
        public static SelectList GetCompanyListFilter(ICompanyBLL companyBll)
        {
            var data = companyBll.GetAllData().Where(x => x.IS_DELETED != true);

            return(new SelectList(data, "BUTXT", "BUTXT"));
        }
Ejemplo n.º 16
0
 public GetAllAreaAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
 public GetAreaTreeDataAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
 public ExportExcelAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
 public GetHistoryGridDataAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
Ejemplo n.º 20
0
 public GetAreaFormDataAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
 public AddCompanyRecordAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
Ejemplo n.º 22
0
 public CompanyController(ICompanyBLL companyBll, IPageBLL pageBLL) : base(pageBLL, Enums.MenuList.COMPANY)
 {
     _companyBLL = companyBll;
 }
Ejemplo n.º 23
0
 public DeleteCompanyConnectRecordAction(ICompanyBLL companyBll)
 {
     _companyBll = companyBll;
 }
Ejemplo n.º 24
0
 public AdminCompanyController(ISubCategoryBLL sub, ICompanyBLL bLL, ILogger <AdminCompanyController> logger)
 {
     SubCategoryBLL = sub;
     companyBLL     = bLL;
     this._logger   = logger;
 }
Ejemplo n.º 25
0
        public HomeController(ICompanyBLL companyBll, IWorkflowBLL workflowBll)

        {
            _companyBll  = companyBll;
            _workflowBll = workflowBll;
        }