public WasteStockController(IWasteStockBLL wasteStockBll, IPageBLL pageBLL, IUserBLL userBll, IChangesHistoryBLL changesHistoryBll) : base(pageBLL, Enums.MenuList.CK4C) { _wasteStockBll = wasteStockBll; _mainMenu = Enums.MenuList.CK4C; _userBll = userBll; _changesHistoryBll = changesHistoryBll; }
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); }