public LabelAppService(ILabelService service, IExpenseAppService expenseAppService, ILabelAdapter adapter, IUnitOfWork unitOfWork)
     : base(service, adapter, unitOfWork)
 {
     _service           = service;
     _adapter           = adapter;
     _expenseAppService = expenseAppService;
 }
Esempio n. 2
0
 public ExportDataController(IExpenseAppService expenseAppService,
                             IUnitOfWork unitOfWork,
                             IReportsUnnitOfWork reportsUnitOfWork,
                             IReportRepository <ReceiptHeader> receiptHeaderContext,
                             IReportRepository <ReceiptItem> receiptItemContext,
                             IReportRepository <H_Concepts> haberConceptsRepository,
                             IReportRepository <Distribution> distributionContext,
                             IReportRepository <D_Concepts> debeConceptsRepository,
                             IReportRepository <TaxesDetails> taxesDetailsRepository,
                             IReportRepository <DistDimTesoH> distDimTesoHRepository,
                             IEntityBaseRepository <Expense> expenseRepository,
                             IProviderAppService providerAppService,
                             IErrorAppService errorAppService)
     : base(errorAppService)
 {
     this.unitOfWork              = unitOfWork;
     this.reportsUnitOfWork       = reportsUnitOfWork;
     this.receiptHeaderContext    = receiptHeaderContext;
     this.receiptItemContext      = receiptItemContext;
     this.haberConceptsRepository = haberConceptsRepository;
     this.distributionContext     = distributionContext;
     this.distDimTesoHRepository  = distDimTesoHRepository;
     this.debeConceptsRepository  = debeConceptsRepository;
     this.taxesDetailsRepository  = taxesDetailsRepository;
     this.expenseRepository       = expenseRepository;
     this.expenseAppService       = expenseAppService;
     this.providerAppService      = providerAppService;
 }
Esempio n. 3
0
 public ExpenseController(
     IExpenseAppService expenseAppService,
     IEntityBaseRepository <SyncStatus> syncStatusRepository,
     IErrorAppService errorAppService)
     : base(errorAppService)
 {
     this.expenseAppService    = expenseAppService;
     this.syncStatusRepository = syncStatusRepository;
 }
Esempio n. 4
0
        public ExpensesController(
            IExpenseAppService service,
            ILabelService labelService,
            IPaymentService paymentService)
        {
            _service = service;

            _labelService   = labelService;
            _paymentService = paymentService;
        }
 public DepositToBankController(
     ICashOperationAppService _CashOperationService,
     ICashReceiptAppService _cashReceiptAppService,
     IWithdrawAppService _withdrawService,
     IExpenseAppService _ExpenseService,
     IDepositToBankAppService _DepositToBankService,
     IEmployeeAppService _EmployeeService,
     ISubsidiaryInfoAppService _subsidiaryService,
     IItemInfoAppService _ItemService,
     INewChartAppService _NewChartService,
     ILocationAppService _LocationService,
     IUnitAppService _UnitService,
     ITransactionLogAppService _transactionLogService,
     IBankOperationAppService _BankOperationService,
     IJarnalVoucherAppService _jarnalVoucherService,
     ISysSetAppService _sysSetService,
     IOpnBalAppService _OpnBalService,
     IPaymentAppService _paymentService,
     IHORemitAppService _HORemitService, IAcBRAppService _AcBrService,
     IBankReceiptAppService _BankReceiptAppService, IGsetAppService _gsetService)
 {
     this._CashOperationService  = _CashOperationService;
     this._cashReceiptAppService = _cashReceiptAppService;
     this._withdrawService       = _withdrawService;
     this._ExpenseService        = _ExpenseService;
     this._DepositToBankService  = _DepositToBankService;
     this._subsidiaryService     = _subsidiaryService;
     this._NewChartService       = _NewChartService;
     this._EmployeeService       = _EmployeeService;
     this._subsidiaryService     = _subsidiaryService;
     this._ItemService           = _ItemService;
     this._LocationService       = _LocationService;
     this._UnitService           = _UnitService;
     this._transactionLogService = _transactionLogService;
     this._jarnalVoucherService  = _jarnalVoucherService;
     this._sysSetService         = _sysSetService;
     this._OpnBalService         = _OpnBalService;
     this._paymentService        = _paymentService;
     this._HORemitService        = _HORemitService;
     this._BankReceiptAppService = _BankReceiptAppService;
     this._BankOperationService  = _BankOperationService;
     this._gsetService           = _gsetService;
     this._AcBrService           = _AcBrService;
 }
Esempio n. 6
0
        private void Fill()
        {
            var labelsDto  = new List <LabelDto>();
            var paymentDto = new List <PaymentDto>();

            ILabelAppService labelAppService = GetAppService <ILabelAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                labelsDto.Add(labelAppService.Add(new LabelDto {
                    Name = string.Format(Resource.LabelName, 1 + 1)
                }));
            }

            IPaymentAppService paymentAppService = GetAppService <IPaymentAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                paymentDto.Add(paymentAppService.Add(new PaymentDto {
                    Name = string.Format(Resource.PaymentName, 1 + 1)
                }));
            }

            IExpenseAppService expenseAppService = GetAppService <IExpenseAppService>();

            for (int i = 0; i < NUMBER_OBJ; i++)
            {
                expenseAppService.Add(new ExpenseDto
                {
                    Name       = string.Format(Resource.ExpenseName, 1 + 1),
                    Data       = DateTime.Today,
                    Value      = i + 1,
                    Label      = labelsDto[i],
                    LabelId    = labelsDto[i].Id,
                    Payment    = paymentDto[i],
                    PaymentId  = paymentDto[i].Id,
                    IsIncoming = i % 2 == 0
                });
            }
        }
 public PaymentAppService(IPaymentService service, IExpenseAppService expenseAppService, IPaymentAdapter adapter, IUnitOfWork unitOfWork)
     : base(service, adapter, unitOfWork)
 {
     _expenseAppService = expenseAppService;
 }
 public void CleanUp()
 {
     _appService = null;
 }
 public void Initialize()
 {
     _appService = GetAppService <IExpenseAppService>();
 }
Esempio n. 10
0
 public LabelsController(IExpenseAppService expenseAppService)
 {
     _expenseAppService = expenseAppService;
 }
 public ExpenseController(IExpenseAppService expenseApp)
 {
     _expenseApp = expenseApp;
 }
Esempio n. 12
0
 public PaymentsController(IPaymentAppService paymentAppService, IExpenseAppService expenseAppService)
 {
     _appService        = paymentAppService;
     _expenseAppService = expenseAppService;
 }
Esempio n. 13
0
 public LabelsController(ILabelAppService labelAppService, IExpenseAppService expenseAppService)
 {
     _appService        = labelAppService;
     _expenseAppService = expenseAppService;
 }
 public ValuesController(IExpenseAppService expenseAppService)
 {
     _expenseAppService = expenseAppService;
 }