コード例 #1
0
 public LoanOptionsController(
     ILoanOptionsRepository loanOptionsRepository,
     ILoanRepository loanRepository,
     ICustomerStatusHistoryRepository customerStatusHistoryRepository,
     CustomerStatusesRepository customerStatusesRepository, IEzbobWorkplaceContext context)
 {
     this._loanOptionsRepository          = loanOptionsRepository;
     this._loanRepository                 = loanRepository;
     this._caisFlagRepository             = ObjectFactory.GetInstance <CaisFlagRepository>();
     this.customerStatusHistoryRepository = customerStatusHistoryRepository;
     this.customerStatusesRepository      = customerStatusesRepository;
     this.context       = context;
     this.serviceClient = new ServiceClient();
 }
コード例 #2
0
 public CustomersController(
     CustomerStatusesRepository customerStatusesRepo,
     IWorkplaceContext context,
     LoanLimit limit,
     MarketPlaceRepository mpType,
     RejectReasonRepository rejectReasonRepo
     )
 {
     this.context              = context;
     this.loanLimit            = limit;
     this.mpType               = mpType;
     this.customerStatusesRepo = customerStatusesRepo;
     this.rejectReasonRepo     = rejectReasonRepo;
     this.serviceClient        = new ServiceClient();
 }         // constructor
コード例 #3
0
 public CollectionStatusController(
     ICustomerRepository customerRepository,
     CustomerStatusesRepository customerStatusesRepository,
     LoanOptionsRepository loanOptionsRepository,
     ICustomerStatusHistoryRepository customerStatusHistoryRepository, ISession session,
     ServiceClient serviceClient,
     IEzbobWorkplaceContext context,
     ILoanRepository loanRepository)
 {
     this.customerRepository              = customerRepository;
     this.customerStatusesRepository      = customerStatusesRepository;
     this.loanOptionsRepository           = loanOptionsRepository;
     this.customerStatusHistoryRepository = customerStatusHistoryRepository;
     this.session        = session;
     this.serviceClient  = serviceClient;
     this.context        = context;
     this.loanRepository = loanRepository;
 }