public IncomeController(UserManager <User> userManager, IMapper mapper, IIncomeService incomeService) { _userManager = userManager; _mapper = mapper; _incomeService = incomeService; }
public TransactionData(IExpenseService expenseService, IIncomeService incomeService, IBalanceAdjustmentService adjustmentService, IPerformanceService performanceService) { _expenseService = expenseService; _incomeService = incomeService; _adjustmentService = adjustmentService; _performanceService = performanceService; }
public IncomesController(IIncomeService incomeService, IMapper mapper, IJwtService jwtService) : base(jwtService) { this.incomeService = incomeService; this.mapper = mapper; this.jwtService = jwtService; }
public ChartService(IIncomeService incomeService, IOutGoingService outGoingService, ISourceOfAmountService sourceOfAmountService, ITypeOfOutgoingService typeOfOutgoingService) { _incomeService = incomeService; _outGoingService = outGoingService; _sourceOfAmountService = sourceOfAmountService; _typeOfOutgoingService = typeOfOutgoingService; }
public IncomeController(IIncomeService IncomeService) { if(IncomeService == null) { throw new ArgumentNullException(nameof(IncomeService)); } _IncomeService = IncomeService; }
public IncomeController(IIncomeService incomeService) { if (incomeService == null) { throw new ArgumentNullException(nameof(incomeService)); } _incomeService = incomeService; }
public IncomeController(IMapper mapper, IUriService uriService, IIdentityService identityService, IBudgetService budgetService, IPeriodService periodService, IIncomeService incomeService) { _mapper = mapper; _uriService = uriService; _identityService = identityService; _budgetService = budgetService; _periodService = periodService; _incomeService = incomeService; }
public IncomeController(IUserService userService, IIncomeService incomeService) { if (userService.GetAll().Any()) { _user = userService.GetAll().ToList()[0]; } _incomeService = incomeService; }
public FinanceService( IExpensesService expensesService, IIncomeService incomeService, ITaxService taxService) { _expensesService = expensesService ?? throw new ArgumentNullException(nameof(expensesService)); _incomeService = incomeService ?? throw new ArgumentNullException(nameof(incomeService)); _taxService = taxService ?? throw new ArgumentNullException(nameof(taxService)); }
public ResultController(IUserService userService, IExpenseService expenseService, IIncomeService incomeService) { if (userService.GetAll().Any()) { _user = userService.GetAll().ToList()[0]; } _expenseService = expenseService; _incomeService = incomeService; }
/// <summary> /// Initializes a new instance of the <see cref="GameService"/> class. /// </summary> /// <param name="injuryService">Injury service</param> /// <param name="incomeService">Income service</param> /// <param name="experienceService">Experience service</param> /// <param name="gangerManager">Ganger manager</param> public GameService( IInjuryService injuryService, IIncomeService incomeService, IExperienceService experienceService, IGangerManager gangerManager) { _injuryService = injuryService ?? throw new ArgumentNullException(nameof(injuryService)); _incomeService = incomeService ?? throw new ArgumentNullException(nameof(incomeService)); _experienceService = experienceService ?? throw new ArgumentNullException(nameof(experienceService)); _gangerManager = gangerManager ?? throw new ArgumentNullException(nameof(gangerManager)); }
public AccountManagementController(IExpenditureService expenditureService, IBankAccountService bankAccountService, IBudgetPlanService budgetPlanService, IExpenditureTypeService expenditureTypeService, IPaymentMethodService paymentMethodService, IIncomeService incomeService, IAtmWithdrawService atmWithdrawService) : base(bankAccountService) { this._budgetPlanService = budgetPlanService; this._expenditureService = expenditureService; this._expenditureTypeService = expenditureTypeService; this._bankAccountService = bankAccountService; this._paymentMethodService = paymentMethodService; this._incomeService = incomeService; this._atmWithdrawService = atmWithdrawService; }
public SpendingsController( ISpendingService spendingService, ICNWService cnwService, IFinanceService financeService, IIncomeService incomeService, IBaseService baseService) { this.spendingService = spendingService ?? throw new ArgumentNullException(nameof(spendingService)); this.cnwService = cnwService ?? throw new ArgumentNullException(nameof(cnwService)); this.financeService = financeService ?? throw new ArgumentNullException(nameof(financeService)); this.incomeService = incomeService ?? throw new ArgumentNullException(nameof(incomeService)); this.baseService = baseService ?? throw new ArgumentNullException(nameof(baseService)); }
public IncomeController(IIncomeService incomeService, ILogger logger) { if (incomeService == null) { throw new ArgumentNullException("incomeService"); } if (logger == null) { throw new ArgumentNullException("logger"); } _incomeService = incomeService; _logger = logger; }
public AuthorizationService( IAccountService accountService, IIncomeService incomeService, IExpenseService expenseService, ITransferService transferService, ICategoryService categoryService, IIdentityService identityService) { _accountService = accountService; _incomeService = incomeService; _expenseService = expenseService; _transferService = transferService; _categoryService = categoryService; _userId = identityService.GetCurrentUserId(); }
public FinanceService( IFinanceRepository financeRepository, ISpendingService spendingService, IIncomeService incomeService, IRemindersService remindersService, IBaseService baseService, ICNWService cnwService) { this.financeRepository = financeRepository ?? throw new ArgumentNullException(nameof(financeRepository)); this.spendingService = spendingService ?? throw new ArgumentNullException(nameof(spendingService)); this.incomeService = incomeService ?? throw new ArgumentNullException(nameof(incomeService)); this.remindersService = remindersService ?? throw new ArgumentNullException(nameof(remindersService)); this.baseService = baseService ?? throw new ArgumentNullException(nameof(baseService)); this.cnwService = cnwService ?? throw new ArgumentNullException(nameof(cnwService)); }
public IncomeViewModel( IBaseService baseService, IIncomeService incomeService, IEventAggregator eventAggregator ) : base(baseService) { _baseService = baseService; _incomeService = incomeService; _eventAggregator = eventAggregator; TabName = "Inkomst"; RollDie = new DelegateCommand(ExecuteRollDie); IncomeUIEventUIEventHandler = new CustomDelegateCommand(ExecuteIncomeUIEventUIEventHandler, o => true); _eventAggregator.GetEvent <NewFiefLoadedEvent>().Subscribe(ExecuteNewFiefLoadedEvent); }
public FinancialBalanceController(IIncomeService incomeService, IOutGoingService outGoingService, ITypeOfOutgoingService typeOfOutgoingService, ISourceOfAmountService sourceOfAmountService) { _incomeService = incomeService; _outGoingService = outGoingService; _typeOfOutgoingService = typeOfOutgoingService; _sourceOfAmountService = sourceOfAmountService; try { _idLoggedUser = System.Web.HttpContext.Current.GetOwinContext().GetUserManager <ApplicationUserManager>().FindById(System.Web.HttpContext.Current.User.Identity.GetUserId()).Id; } catch (Exception ex) { _idLoggedUser = string.Empty; } }
public AddIncomeHandler(IIncomeService incomeService) { _incomeService = incomeService; }
public IncomesController(SpendMonitorContext context, IIncomeService incService) { _context = context; _incService = incService; }
public IncomeController(IIncomeService incomeService, IVendingMachineService vendingMachineService, UserManager <AppUser> userManager) : base(userManager) { _incomeService = incomeService; _vendingMachineService = vendingMachineService; }
public IncomeMongoDBController(IIncomeService incomeService) { _incomeService = incomeService; }
public IncomesController(IIncomeService incomeService) { _incomeService = incomeService; }
public IncomeController(IIncomeService service) { this.service = service; }
public IncomeController(IIncomeService service) { _incomeService = service; }
/// <summary> /// Constructor for injection. /// </summary> /// <param name="branchServive">The branch service to inject.</param> public IncomeController(IIncomeService incomeService, ICommonResource commonResource) { _incomeService = incomeService; _commonResource = commonResource; }
public HandbookController(IConsumptionService consumptionService, IIncomeService incomeService, IProductService productService) { _consumptionService = consumptionService; _incomeService = incomeService; _productService = productService; }
public IncomeController(IIncomeService incomeService) : base() { _incomeService = incomeService; }
public IncomesController(IIncomeService incomeService, ICommandDispatcher commandDispatcher) { _incomeService = incomeService; _commandDispatcher = commandDispatcher; }
public IncomeController(IIncomeService incomeService, ILogger logger) { _incomeService = incomeService; _logger = logger; }
public IncomeController(IIncomeService incomeService, IBankAccountService bankAccountService) : base(bankAccountService) { this._incomeService = incomeService; }