示例#1
0
 /// <summary>
 /// Initializes a new instance of
 /// type InventoryMovementsService.
 /// </summary>
 /// <param name="journalPostingsService"></param>
 /// <param name="InventoryMovementsRepository"></param>
 /// <param name="languageService"></param>
 /// <param name="unitOfWork"></param>
 public InventoryMovementsService(
     IInventoryMovementTypeRepository inventoryMovementTypeRepository,
     IJournalPostingsService journalPostingsService,
     IInventoryMovementsRepository InventoryMovementsRepository,
     IInventoryMovementCostCenterRepository InventoryMovementCostCentersRepository,
     ILanguageService languageService,
     IProductsRepository ProductsRepository,
     IInventoryProductHistoryRepository inventoryProductHistoryRepository,
     IBrandsRepository brandsRepository,
     IClosedMonthsService closedMonthsService,
     IAccountChartsRepository accountChartsRepository,
     IJournalsRepository journalsRepository,
     ICurrentUserService currentUserService,
     IUnitOfWork unitOfWork)
 {
     this._inventoryMovementTypeRepository        = inventoryMovementTypeRepository;
     this._journalPostingsService                 = journalPostingsService;
     this._InventoryMovementsRepository           = InventoryMovementsRepository;
     this._InventoryMovementCostCentersRepository = InventoryMovementCostCentersRepository;
     this._languageService    = languageService;
     this._ProductsRepository = ProductsRepository;
     this._inventoryProductHistoryRepository = inventoryProductHistoryRepository;
     this._brandsRepository        = brandsRepository;
     this._closedMonthsService     = closedMonthsService;
     this._accountChartsRepository = accountChartsRepository;
     this._journalsRepository      = journalsRepository;
     this._currentUserService      = currentUserService;
     this._unitOfWork = unitOfWork;
 }
 /// <summary>
 /// Initializes a new instance of
 /// type InventoryMovementTypeService.
 /// </summary>
 /// <param name="InventoryMovementTypeRepository"></param>
 /// <param name="unitOfWork"></param>
 public InventoryMovementTypeService(
     IInventoryMovementTypeRepository InventoryMovementTypeRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._InventoryMovementTypeRepository = InventoryMovementTypeRepository;
     this._languageService = languageService;
     this._unitOfWork      = unitOfWork;
 }