Esempio n. 1
0
 public NewPurchaseUnitController(CustomerAccountService accountService, ItemChargeService itemChargeService,
                                  CustomerService customerService, StockService stockService, ContractService contractService, AccountTransactionService accountTransactionService)
     : base(accountService, itemChargeService, customerService)
 {
     _stockService              = stockService;
     _contractService           = contractService;
     _accountTransactionService = accountTransactionService;
 }
        public CollectionsController(AccountTransactionService accountTransactionService,
                                     CustomerService customerService, CustomerAccountService customerAccountService)
        {
            _accountTransactionService = accountTransactionService;
            _customerService           = customerService;
            _customerAccountService    = customerAccountService;

            InitialisePaymentSourcesViewBag(_accountTransactionService);
        }
Esempio n. 3
0
 public LoginController(MiniBankingDbContext context)
 {
     _context               = context;
     authService            = new AuthenticateService(_context);
     customerService        = new CustomerService(_context);
     customerAccountService = new CustomerAccountService(_context);
     depositService         = new AccountDepositService(_context);
     transactionService     = new AccountTransactionService(_context, Constants.DefaultConnectionString);
 }
Esempio n. 4
0
 public AccountTransactionsController(MiniBankingDbContext context, IHttpContextAccessor httpContextAccessor) : base(context, httpContextAccessor)
 {
     transactionService     = new AccountTransactionService(context, Constants.DefaultConnectionString);
     depositService         = new AccountDepositService(context);
     withdrawalService      = new AccountWithdrawalService(context);
     customerAccountService = new CustomerAccountService(context);
     transferService        = new AccountTransferService(context);
     _httpContextAccessor   = httpContextAccessor;
 }
 public AdminController(AdminService adminService, AppService appService,
                        CustomerAccountService customerAccountService, DpdService dpdService, SubiektAPIService subiektAPIService)
 {
     _adminService           = adminService;
     _appService             = appService;
     _customerAccountService = customerAccountService;
     _dpdService             = dpdService;
     _subiektAPIService      = subiektAPIService;
 }
Esempio n. 6
0
 public NewAccountController(CustomerService customerService, CustomerAccountService accountService, ItemChargeService itemChargeService, StockService stockService, ContractService contractService, MiscService miscService, AccountTransactionService accountTransactionService)
 {
     _customerService           = customerService;
     _accountService            = accountService;
     _itemChargeService         = itemChargeService;
     _stockService              = stockService;
     _contractService           = contractService;
     _miscService               = miscService;
     _accountTransactionService = accountTransactionService;
 }
Esempio n. 7
0
        public AccountController(CustomerService customerService, CustomerAccountService accountService, StockService stockService, ContractService contractService, DocumentTemplateService documentTemplateService)

        {
            _customerService = customerService;
            _accountService  = accountService;
            _stockService    = stockService;
            //_itemChargeService = itemChargeService;
            _contractService         = contractService;
            _documentTemplateService = documentTemplateService;
            InitialisePaymentPeriodViewBag(contractService);
            InitialiseContractTypeViewBag(contractService);
            InitialiseContractChangeableProductLifeCycleViewBag(stockService);
        }
Esempio n. 8
0
 public CustomerAccountController(
     UserManager <IdentityUser> userManager,
     SignInManager <IdentityUser> signInManager,
     MyContex myContex,
     AppService appService,
     CartService cartService,
     CustomerAccountService customerAccountService,
     DpdService dpdService)
 {
     _userManager            = userManager;
     _signInManager          = signInManager;
     _myContex               = myContex;
     _appService             = appService;
     _cartService            = cartService;
     _customerAccountService = customerAccountService;
     _dpdService             = dpdService;
 }
Esempio n. 9
0
 public PermUnitsAndContractsGridController(ContractService contractService, CustomerAccountService accountService)
     : base(DependencyResolver.Current.GetService <PermPurchaseUnitAndContracts>(), contractService, accountService)
 {
 }
 protected UnitsAndContractsGridBaseController(IPurchaseUnitAndContractsDataSource purchaseUnitAndContracts, ContractService contractService, CustomerAccountService accountService)
 {
     _purchaseUnitAndContracts = purchaseUnitAndContracts;
     _contractService          = contractService;
     _accountService           = accountService;
 }
Esempio n. 11
0
 public NewRentalUnitController(CustomerService customerService, CustomerAccountService accountService, StockService stockService, MiscService miscService, ItemChargeService itemChargeService, AccountTransactionService accountTransactionService) : base(accountService, itemChargeService, customerService)
 {
     _stockService = stockService;
     _miscService  = miscService;
     _accountTransactionService = accountTransactionService;
 }
Esempio n. 12
0
 public PermPurchaseUnitAndContracts(CustomerAccountService customerAccountService)
 {
     _customerAccountService = customerAccountService;
 }
Esempio n. 13
0
 protected NewUnitBaseController(CustomerAccountService accountService, ItemChargeService itemChargeService, CustomerService customerService)
 {
     _accountService    = accountService;
     _itemChargeService = itemChargeService;
     _customerService   = customerService;
 }
 public CustomerAccountController(MiniBankingDbContext context, IHttpContextAccessor httpContextAccessor) : base(context, httpContextAccessor)
 {
     accountService       = new CustomerAccountService(context);
     _httpContextAccessor = httpContextAccessor;
 }