public UnitOfMeasurementBLL(IUnitOfWork uow, ILogger logger)
 {
     _logger     = logger;
     _uow        = uow;
     _repository = _uow.GetGenericRepository <UOM>();
     _changeBLL  = new ChangesHistoryBLL(uow, logger);
 }
Exemplo n.º 2
0
 public POAMapBLL(IUnitOfWork uow, ILogger logger)
 {
     _logger     = logger;
     _uow        = uow;
     _repository = _uow.GetGenericRepository <POA_MAP>();
     _changeBLL  = new ChangesHistoryBLL(uow, logger);
 }
Exemplo n.º 3
0
 public MaterialBLL(IUnitOfWork uow, ILogger logger)
 {
     _logger                 = logger;
     _uow                    = uow;
     _repository             = _uow.GetGenericRepository <ZAIDM_EX_MATERIAL>();
     _repositoryUoM          = _uow.GetGenericRepository <MATERIAL_UOM>();
     _changesHistoryBll      = new ChangesHistoryBLL(_uow, _logger);
     _goodTypeGroupBLL       = new ExGroupTypeBLL(_uow, logger);
     _masterDataAprovalBLL   = new MasterDataApprovalBLL(_uow, _logger);
     _zaidmExMaterialService = new ZaidmExMaterialService(_uow, _logger);
 }
Exemplo n.º 4
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);
 }
Exemplo n.º 5
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);
 }