Пример #1
0
 /// <summary>
 /// Initializes a new instance of
 /// type InventorysService.
 /// </summary>
 /// <param name="InventorysRepository"></param>
 /// <param name="unitOfWork"></param>
 public InventorysService(
     IInventorysRepository InventorysRepository,
     ILanguageService languageService,
     IProductsRepository ProductsRepository,
     IBrandsRepository brandsRepository,
     IAddresssRepository AddresssRepository,
     IUnitOfWork unitOfWork)
 {
     this._InventorysRepository = InventorysRepository;
     this._ProductsRepository   = ProductsRepository;
     this._brandsRepository     = brandsRepository;
     this._languageService      = languageService;
     this._AddresssRepository   = AddresssRepository;
     this._unitOfWork           = unitOfWork;
 }
        /// <summary>
        /// Initializes a new instance of
        /// type TransactionsService.
        /// </summary>
        /// <param name="TransactionsRepository"></param>
        /// <param name="unitOfWork"></param>
        public InventoryReportsService(
            IResourcesService resourcesService,
            IInventorysRepository inventorysRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            IBrandsRepository brandsRepository,
            IMeasurementUnitsRepository measurementUnitsRepository,
            IProductsRepository productsRepository,
            ISettingsService settingsService,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._resourcesService             = resourcesService;
            this._inventorysRepository         = inventorysRepository;
            this._currentUserService           = currentUserService;
            this._inventoryMovementsRepository = inventoryMovementsRepository;
            this._brandsRepository             = brandsRepository;
            this._measurementUnitsRepository   = measurementUnitsRepository;
            this._productsRepository           = productsRepository;
            this._settingsService = settingsService;

            this._languageService = languageService;
            this._unitOfWork      = unitOfWork;
        }
        /// <summary>
        /// Initializes a new instance of
        /// type TransactionsService.
        /// </summary>
        /// <param name="TransactionsRepository"></param>
        /// <param name="unitOfWork"></param>
        public FixedAssetReportsService(
            IResourcesService resourcesService,
            IAssetsRepository assetsRepository,
            IInventorysRepository inventorysRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            IBrandsRepository brandsRepository,
            IMeasurementUnitsRepository measurementUnitsRepository,
            IDepreciationRatesRepository depreciationRatesRepository,
            IDepreciationTypesRepository depreciationTypesRepository,
            ILocationsRepository locationsRepository,
            IVendorsRepository vendorsRepository,
            IAssetInventorysRepository assetInventorysRepository,
            IAssetInventoryDetailsRepository assetInventoryDetailsRepository,
            ISettingsService settingsService,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._resourcesService                = resourcesService;
            this._assetsRepository                = assetsRepository;
            this._inventorysRepository            = inventorysRepository;
            this._currentUserService              = currentUserService;
            this._inventoryMovementsRepository    = inventoryMovementsRepository;
            this._brandsRepository                = brandsRepository;
            this._measurementUnitsRepository      = measurementUnitsRepository;
            this._depreciationRatesRepository     = depreciationRatesRepository;
            this._depreciationTypesRepository     = depreciationTypesRepository;
            this._locationsRepository             = locationsRepository;
            this._vendorsRepository               = vendorsRepository;
            this._assetInventorysRepository       = assetInventorysRepository;
            this._assetInventoryDetailsRepository = assetInventoryDetailsRepository;
            this._settingsService = settingsService;

            this._languageService = languageService;
            this._unitOfWork      = unitOfWork;
        }