/// <summary>
        /// Initializes a new instance of
        /// type JournalsService.
        /// </summary>
        /// <param name="JournalsRepository"></param>
        /// <param name="languageService"></param>
        /// <param name="unitOfWork"></param>
        public JournalsService(
            //ICurrentUserService currentUserService,
            //ISettingsService settingsService,
            IBankMovementsRepository bankMovementsRepository,
            IPaymentMovmentsRepository paymentMovmentsRepository,
            IPurchaseInvoicesRepository purchaseInvoicesRepository,
            IPurchaseRebatesRepository purchaseRebatesRepository,
            IDonationsRepository donationsRepository,
            ISalesBillRepository salesBillRepository,
            ISalesRebatesRepository salesRebatesRepository,

            IJournalsRepository JournalsRepository,
            ITransactionsRepository transactionsRepository,
            IAccountChartsRepository accountChartsRepository,
            ILanguageService languageService,
            IResourcesService resourcesService,
            IUnitOfWork unitOfWork)
        {
            //this._currentUserService = currentUserService;
            //this._settingsService = settingsService;
            this._bankMovementsRepository    = bankMovementsRepository;
            this._paymentMovmentsRepository  = paymentMovmentsRepository;
            this._purchaseInvoicesRepository = purchaseInvoicesRepository;
            this._purchaseRebatesRepository  = purchaseRebatesRepository;
            this._donationsRepository        = donationsRepository;
            this._salesBillRepository        = salesBillRepository;
            this._salesRebatesRepository     = salesRebatesRepository;

            this._JournalsRepository      = JournalsRepository;
            this._transactionsRepository  = transactionsRepository;
            this._accountChartsRepository = accountChartsRepository;
            this._languageService         = languageService;
            this._resourcesService        = resourcesService;
            this._unitOfWork = unitOfWork;
        }
 /// <summary>
 /// Initializes a new instance of
 /// type SalesRebatesService.
 /// </summary>
 /// <param name="journalPostingsService"></param>
 /// <param name="SalesRebatesRepository"></param>
 /// <param name="languageService"></param>
 /// <param name="unitOfWork"></param>
 public SalesRebatesService(
     IJournalPostingsService journalPostingsService,
     ISalesRebatesRepository SalesRebatesRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._journalPostingsService = journalPostingsService;
     this._SalesRebatesRepository = SalesRebatesRepository;
     this._languageService        = languageService;
     this._unitOfWork             = unitOfWork;
 }
        /// <summary>
        /// Initializes a new instance of
        /// type TransactionsService.
        /// </summary>
        /// <param name="TransactionsRepository"></param>
        /// <param name="unitOfWork"></param>
        public CostCenterReportsService(
            IResourcesService resourcesService,
            IBankMovementsRepository bankMovementsRepository,
            IPaymentMovmentsRepository paymentMovmentsRepository,
            IPurchaseInvoicesRepository purchaseInvoicesRepository,
            IPurchaseRebatesRepository purchaseRebatesRepository,
            IDonationsRepository donationsRepository,
            ISalesBillRepository salesBillRepository,
            ISalesRebatesRepository salesRebatesRepository,
            //IStoreMovementsRepository storeMovementsRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            ISettingsService settingsService,
            IJournalsRepository JournalsRepository,
            IVendorsRepository vendorsRepository,
            IBanksRepository banksRepository,
            ICostCentersRepository costCentersRepository,
            ICurrencyRatesService currencyRatesService,

            ITransactionsRepository TransactionsRepository,
            IAccountChartsRepository AccountChartsRepository,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._resourcesService           = resourcesService;
            this._bankMovementsRepository    = bankMovementsRepository;
            this._paymentMovmentsRepository  = paymentMovmentsRepository;
            this._purchaseInvoicesRepository = purchaseInvoicesRepository;
            this._purchaseRebatesRepository  = purchaseRebatesRepository;
            this._donationsRepository        = donationsRepository;
            this._salesBillRepository        = salesBillRepository;
            this._salesRebatesRepository     = salesRebatesRepository;
            //this._storeMovementsRepository = storeMovementsRepository;
            this._currentUserService           = currentUserService;
            this._inventoryMovementsRepository = inventoryMovementsRepository;
            this._settingsService       = settingsService;
            this._vendorsRepository     = vendorsRepository;
            this._banksRepository       = banksRepository;
            this._costCentersRepository = costCentersRepository;
            this._currencyRatesService  = currencyRatesService;

            this._TransactionsRepository  = TransactionsRepository;
            this._AccountChartsRepository = AccountChartsRepository;
            this._languageService         = languageService;
            this._unitOfWork = unitOfWork;
        }
Exemple #4
0
        /// <summary>
        /// Initializes a new instance of
        /// type JournalPostingsService.
        /// </summary>
        /// <param name="bankMovementsRepository"></param>
        /// <param name="paymentMovmentsRepository"></param>
        /// <param name="purchaseInvoicesRepository"></param>
        /// <param name="purchaseRebatesRepository"></param>
        /// <param name="donationsRepository"></param>
        /// <param name="salesBillRepository"></param>
        /// <param name="salesRebatesRepository"></param>
        /// <param name="currentUserService"></param>
        /// <param name="inventoryMovementsRepository"></param>
        /// <param name="settingsService"></param>
        /// <param name="JournalsRepository"></param>
        /// <param name="JournalPostingsRepository"></param>
        /// <param name="languageService"></param>
        /// <param name="unitOfWork"></param>
        public ReportsService(
            IBankMovementsRepository bankMovementsRepository,
            IPaymentMovmentsRepository paymentMovmentsRepository,
            IPurchaseInvoicesRepository purchaseInvoicesRepository,
            IPurchaseRebatesRepository purchaseRebatesRepository,
            IDonationsRepository donationsRepository,
            ISalesBillRepository salesBillRepository,
            ISalesRebatesRepository salesRebatesRepository,
            //IStoreMovementsRepository storeMovementsRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            ISettingsService settingsService,
            IJournalsRepository JournalsRepository,
            IVendorsRepository vendorsRepository,
            ISafesRepository safesRepository,
            IBanksRepository banksRepository,

            IJournalPostingsRepository JournalPostingsRepository,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._bankMovementsRepository    = bankMovementsRepository;
            this._paymentMovmentsRepository  = paymentMovmentsRepository;
            this._purchaseInvoicesRepository = purchaseInvoicesRepository;
            this._purchaseRebatesRepository  = purchaseRebatesRepository;
            this._donationsRepository        = donationsRepository;
            this._salesBillRepository        = salesBillRepository;
            this._salesRebatesRepository     = salesRebatesRepository;
            //this._storeMovementsRepository = storeMovementsRepository;
            this._currentUserService           = currentUserService;
            this._inventoryMovementsRepository = inventoryMovementsRepository;
            this._settingsService    = settingsService;
            this._JournalsRepository = JournalsRepository;
            this._vendorsRepository  = vendorsRepository;
            this._safesRepository    = safesRepository;
            this._banksRepository    = banksRepository;

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