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; }
public void TestCleanup() { _logger = null; _uow = null; _repository = null; _companyBll = null; }
public CompanyController( IApplicationContext appicationContext, ICompanyBLL CompanyBLL) { _CompanyBLL = CompanyBLL; _appicationContext = appicationContext; }
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; }
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); }
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; }
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; }
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); }
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); }
public AddAreaAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public CompanyController(ICompanyBLL company) { companyBLL = company; }
public static SelectList GetCompanyListFilter(ICompanyBLL companyBll) { var data = companyBll.GetAllData().Where(x => x.IS_DELETED != true); return(new SelectList(data, "BUTXT", "BUTXT")); }
public GetAllAreaAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public GetAreaTreeDataAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public ExportExcelAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public GetHistoryGridDataAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public GetAreaFormDataAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public AddCompanyRecordAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public CompanyController(ICompanyBLL companyBll, IPageBLL pageBLL) : base(pageBLL, Enums.MenuList.COMPANY) { _companyBLL = companyBll; }
public DeleteCompanyConnectRecordAction(ICompanyBLL companyBll) { _companyBll = companyBll; }
public AdminCompanyController(ISubCategoryBLL sub, ICompanyBLL bLL, ILogger <AdminCompanyController> logger) { SubCategoryBLL = sub; companyBLL = bLL; this._logger = logger; }
public HomeController(ICompanyBLL companyBll, IWorkflowBLL workflowBll) { _companyBll = companyBll; _workflowBll = workflowBll; }