コード例 #1
0
 /// <summary>
 /// Initializes a new instance of
 /// type CurrencysService.
 /// </summary>
 /// <param name="CurrencysRepository"></param>
 /// <param name="unitOfWork"></param>
 public CurrencysService(
     ICurrencysRepository CurrencysRepository,
     ICurrencyRatesRepository currencyRatesRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._CurrencysRepository     = CurrencysRepository;
     this._currencyRatesRepository = currencyRatesRepository;
     this._languageService         = languageService;
     this._unitOfWork = unitOfWork;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of
 /// type SettingsService.
 /// </summary>
 /// <param name="SettingsRepository"></param>
 /// <param name="accountChartsRepository"></param>
 /// <param name="currencysRepository"></param>
 /// <param name="unitOfWork"></param>
 public SettingsService(
     ISettingsRepository SettingsRepository,
     IAccountChartsRepository accountChartsRepository,
     ICurrencysRepository currencysRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._SettingsRepository      = SettingsRepository;
     this._accountChartsRepository = accountChartsRepository;
     this._currencysRepository     = currencysRepository;
     this._languageService         = languageService;
     this._unitOfWork = unitOfWork;
 }
コード例 #3
0
        /// <summary>
        /// Initializes a new instance of
        /// type TransactionsService.
        /// </summary>
        /// <param name="TransactionsRepository"></param>
        /// <param name="unitOfWork"></param>
        public AccountReportsService(
            ICurrencyRatesService currencyRatesService,
            ICurrencysRepository currencysRepository,
            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,

            ITransactionsRepository TransactionsRepository,
            IAccountChartsRepository AccountChartsRepository,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._currencyRatesService = currencyRatesService;
            this._currencysRepository  = currencysRepository;
            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._TransactionsRepository  = TransactionsRepository;
            this._AccountChartsRepository = AccountChartsRepository;
            this._languageService         = languageService;
            this._unitOfWork = unitOfWork;
        }