Esempio n. 1
0
 public LoandiscprocessController(IFundTypeCodeService fundtypeservice, ILoandiscService loandiscService, ILoanTypeService loantypeService, IUnitOfWork unitOfWork)
 {
     this.loandiscService = loandiscService;
     this.loantypeService = loantypeService;
     this.unitOfWork      = unitOfWork;
     this.fundtypeservice = fundtypeservice;
 }
Esempio n. 2
0
 public LoanTypesAddViewModel(ILoanTypeService service, IEventAggregator eventAggregator)
 {
     _service         = service;
     _eventAggregator = eventAggregator;
     LoanTypeItem     = new LoanTypeItem();
     CreateCommand    = new DelegateCommand(OnCreateExecute);
 }
Esempio n. 3
0
 public FileControlViewModel(ILoanTypeService loanTypeService, IEventAggregator eventAggregator)
 {
     _eventAggregator = eventAggregator;
     _service         = loanTypeService;
     BrowseCommand    = new DelegateCommand(BrowseForFile);
     ImportCommand    = new DelegateCommand(ImportFromFile);
     ExportCommand    = new DelegateCommand(ExportToFile);
 }
Esempio n. 4
0
 public MainWindowViewModel(ILoanTypeService service, IEventAggregator eventAggregator)
 {
     _service                 = service;
     _eventAggregator         = eventAggregator;
     FileControlViewModel     = new FileControlViewModel(_service, _eventAggregator);
     LoanTypesListViewModel   = new LoanTypesListViewModel(_service, _eventAggregator);
     LoanTypesDetailViewModel = new LoanTypesDetailViewModel(_service, _eventAggregator);
     LoanTypesAddViewModel    = new LoanTypesAddViewModel(_service, _eventAggregator);
 }
Esempio n. 5
0
 public LoanDiscController(ILoanRegisterService loanRegisterService, ILoanTypeService loantypeService, IUnitOfWork unitofWork, INavyAccountDbContext context, IConfiguration configuration, ILoandiscService loandiscService, IGeneratePdf generatePdf)
 {
     _connectionstring        = configuration.GetConnectionString("DefaultConnection");
     this.unitofWork          = unitofWork;
     this.context             = context;
     this.loandiscService     = loandiscService;
     this.loantypeService     = loantypeService;
     this.generatePdf         = generatePdf;
     this.loanRegisterService = loanRegisterService;
 }
Esempio n. 6
0
        public LoanTypesDetailViewModel(ILoanTypeService service, IEventAggregator eventAggregator)
        {
            _service         = service;
            _eventAggregator = eventAggregator;
            _eventAggregator.GetEvent <OpenLoanTypeDetailViewEvent>()
            .Subscribe(OnOpenLoanTypeDetailView);

            UpdateCommand = new DelegateCommand(OnUpdateExecute);
            DeleteCommand = new DelegateCommand(OnDeleteExecute);
        }
Esempio n. 7
0
 public LoanController(IEmploymentTypeService IEmploymentTypeService,
                       ILoanTypeService ILoanTypeService,
                       ICurrencyService ICurrencyService,
                       ITestDataInitializerService _ITestDataInitializerService, IUnitOfWork unitOfWork,
                       ILoanTypeService loanService)
 {
     ITestDataInitializerService = _ITestDataInitializerService;
     _ICurrencyService           = ICurrencyService;
     _ILoanTypeService           = ILoanTypeService;
     _IEmploymentTypeService     = IEmploymentTypeService;
     _loanService = loanService;
 }
 public LoanRequestController(IEmploymentTypeService employmentTypeService,
                              ILoanTypeService loanTypeService, ICurrencyService currencyService,
                              UserManager <User> userManager, ILoanRequestService loanRequestService,
                              IBankAccountService bankAccountService, IEmploymentService employmentService)
 {
     _employmentTypeService = employmentTypeService;
     _loanTypeService       = loanTypeService;
     _userManager           = userManager;
     _loanRequestService    = loanRequestService;
     _bankAccountService    = bankAccountService;
     _employmentService     = employmentService;
 }
Esempio n. 9
0
        public LoanTypesListViewModel(ILoanTypeService service, IEventAggregator eventAggregator)
        {
            _service         = service;
            _eventAggregator = eventAggregator;
            _eventAggregator.GetEvent <AfterImportFileEvent>().Subscribe(AfterImportFile);
            _eventAggregator.GetEvent <AfterUpdateLoanTypeDetailViewEvent>().Subscribe(AfterUpdateLoanType);
            _eventAggregator.GetEvent <AfterDeleteLoanTypeDetailViewEvent>().Subscribe(AfterDeleteLoanType);
            _eventAggregator.GetEvent <AfterCreateLoanTypeEvent>().Subscribe(AfterCreateLoanType);
            LoanTypes = new ObservableCollection <LoanTypesListItemViewModel>();

            //only here for now for testing purposes
            LoadList();
        }
 public LoanTypeController(ILoanTypeService loantypeService, IGeneratePdf generatePdf)
 {
     this.loantypeService = loantypeService;
     this.generatePdf     = generatePdf;
 }
 public LoanPerRankController(ILoanPerRankService services, ILoanTypeService fundService, IGeneratePdf generatePdf)
 {
     this.services    = services;
     this.fundService = fundService;
     this.generatePdf = generatePdf;
 }
 public LoanTypeController(ILoanTypeService loantypeService, ILoantypeReviewService loantypereviewService)
 {
     this.loantypeService       = loantypeService;
     this.loantypereviewService = loantypereviewService;
 }
Esempio n. 13
0
 public LoanController(ILoanTypeService loanTypeService)
 {
     _loanTypeService = loanTypeService;
 }
Esempio n. 14
0
 public LoanTypeManagmentController(ILoanTypeService loanTypeService, ICurrencyService currencyService)
 {
     _loanTypeService = loanTypeService;
     _currencyService = currencyService;
 }
Esempio n. 15
0
 public LoanTypeController(ILoanTypeService service)
 {
     _service = service;
 }