Пример #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 PurchaseInvoicesService.
 /// </summary>
 /// <param name="PurchaseInvoicesRepository"></param>
 /// <param name="unitOfWork"></param>
 public PurchaseInvoicesService(
     ITransactionsRepository transactionsRepository,
     IJournalsRepository journalsRepository,
     IJournalPostingsService journalPostingsService,
     IPurchaseInvoiceCostCentersRepository purchaseInvoiceCostCentersRepository,
     IPurchaseInvoicesRepository PurchaseInvoicesRepository,
     IBrandsRepository BrandsRepository,
     ILanguageService languageService,
     ICurrentUserService currentUserService,
     IClosedMonthsService closedMonthsService,
     IAccountChartsRepository accountChartsRepository,
     IJournalsService journalsService,
     IUnitOfWork unitOfWork)
 {
     this._transactionsRepository = transactionsRepository;
     this._journalsRepository     = journalsRepository;
     this._journalPostingsService = journalPostingsService;
     this._purchaseInvoiceCostCentersRepository = purchaseInvoiceCostCentersRepository;
     this._PurchaseInvoicesRepository           = PurchaseInvoicesRepository;
     this._BrandsRepository        = BrandsRepository;
     this._languageService         = languageService;
     this._currentUserService      = currentUserService;
     this._closedMonthsService     = closedMonthsService;
     this._accountChartsRepository = accountChartsRepository;
     this._journalsService         = journalsService;
     this._unitOfWork = unitOfWork;
 }
Пример #3
0
 protected ProductsBasePage(IProductsRepository r, ICatalogsRepository c, IBrandsRepository b,
                            IBasketsRepository ba, IBasketItemsRepository bi)
     : base(r, "Products")
 {
     Catalogs    = newItemsList <Catalog, CatalogData>(c);
     Brands      = newItemsList <Brand, BrandData>(b);
     Baskets     = ba;
     BasketItems = bi;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of
 /// type BrandsService.
 /// </summary>
 /// <param name="BrandsRepository"></param>
 /// <param name="unitOfWork"></param>
 public BrandService(
     IBrandsRepository BrandsRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._BrandsRepository = BrandsRepository;
     this._languageService  = languageService;
     this._unitOfWork       = unitOfWork;
 }
Пример #5
0
 public DataManager(IClothesRepository clothesRepository,
                    ITagsRepository tagsRepository,
                    IBrandsRepository brandsRepository,
                    IBasketsRepository basketsRepository,
                    IImagesRepository imagesRepository,
                    IOrderInfoRepository orderInfoRepository)
 {
     _clothesRepository   = clothesRepository;
     _brandsRepository    = brandsRepository;
     _tagsRepository      = tagsRepository;
     _basketsRepository   = basketsRepository;
     _imagesRepository    = imagesRepository;
     _orderInfoRepository = orderInfoRepository;
 }
Пример #6
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 InventoryTransfersService.
 /// </summary>
 /// <param name="InventoryTransfersRepository"></param>
 /// <param name="unitOfWork"></param>
 public InventoryTransfersService(
     IInventoryTransfersRepository InventoryTransfersRepository,
     IInventoryTransferCostCenterRepository InventoryTransferCostCentersRepository,
     IProductsRepository ProductsRepository,
     IClosedMonthsService closedMonthsService,
     IBrandsRepository brandsRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._InventoryTransfersRepository = InventoryTransfersRepository;
     this._languageService = languageService;
     this._InventoryTransferCostCentersRepository = InventoryTransferCostCentersRepository;
     this._ProductsRepository  = ProductsRepository;
     this._closedMonthsService = closedMonthsService;
     this._brandsRepository    = brandsRepository;
     this._unitOfWork          = unitOfWork;
 }
Пример #8
0
        /// <summary>
        /// Initializes a new instance of
        /// type AssetsService.
        /// </summary>
        /// <param name="AssetsRepository"></param>
        /// <param name="unitOfWork"></param>
        public AssetsService(
            IObjectCostCentersRepository objectCostCentersRepository,
            IBrandsRepository brandsRepository,
            IAssetsRepository AssetsRepository,
            ILocationsRepository locationsRepository,
            IAssetLocationsRepository assetLocationsRepository,
            ILanguageService languageService,
            IEffiencyRaiseHistoryService EffiencyRaiseHistoryService,

            IUnitOfWork unitOfWork)
        {
            this._objectCostCentersRepository = objectCostCentersRepository;
            this._brandsRepository            = brandsRepository;
            this._AssetsRepository            = AssetsRepository;
            this._locationsRepository         = locationsRepository;
            this._assetLocationsRepository    = assetLocationsRepository;
            this._languageService             = languageService;
            this._EffiencyRaiseHistoryService = EffiencyRaiseHistoryService;

            this._unitOfWork = unitOfWork;
        }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of
 /// type InventoryOpeningBalancesService.
 /// </summary>
 /// <param name="InventoryOpeningBalancesRepository"></param>
 /// <param name="unitOfWork"></param>
 public InventoryOpeningBalanceService(
     IJournalPostingsService journalPostingsService,
     IInventoryOpeningBalanceCostCenterRepository InventoryOpeningBalanceCostCentersRepository,
     IInventoryOpeningBalanceRepository InventoryOpeningBalancesRepository,
     ILanguageService languageService,
     ICurrentUserService currentUserService,
     IClosedMonthsService closedMonthsService,
     IUnitOfWork unitOfWork,
     IProductsRepository ProductsRepository,
     IBrandsRepository brandsRepository)
 {
     this._journalPostingsService = journalPostingsService;
     this._InventoryOpeningBalanceCostCentersRepository = InventoryOpeningBalanceCostCentersRepository;
     this._InventoryOpeningBalancesRepository           = InventoryOpeningBalancesRepository;
     this._languageService     = languageService;
     this._currentUserService  = currentUserService;
     this._ProductsRepository  = ProductsRepository;
     this._closedMonthsService = closedMonthsService;
     this._brandsRepository    = brandsRepository;
     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;
        }
Пример #12
0
 protected BrandsBasePage(IBrandsRepository r) : base(r, "Brands")
 {
 }
Пример #13
0
 public BrandsController(IBrandsRepository brandsRepository)
 {
     _brandsRepository = brandsRepository;
 }
Пример #14
0
 public BrandsPage(IBrandsRepository r) : base(r)
 {
 }
Пример #15
0
 public ProductsPage(IProductsRepository r, ICatalogsRepository c, IBrandsRepository b,
                     IBasketsRepository ba, IBasketItemsRepository bi)
     : base(r, c, b, ba, bi)
 {
 }
Пример #16
0
 public BrandsController(IBrandsRepository repo)
 {
     _repo = repo;
 }
Пример #17
0
 public BrandsBL(IBrandsRepository brandsRepository)
 {
     _brandsRepository = brandsRepository;
 }
Пример #18
0
 public BrandsController(IBrandsRepository repository)
 {
     _repository = repository;
 }
Пример #19
0
 public BrandsClientPage(IBrandsRepository r) : base(r)
 {
 }