Ejemplo n.º 1
0
 public CreditController(
     ICreditService creditService, 
     IUserContext userContext, 
     IClientProfileService clientProfileService, 
     IUserService userService, 
     ILoanRequestsService loanRequestsService, 
     ICreditManager creditManager, IMailService mailService, IEmailTemplatesService emailTemplatesService)
     : base(userContext)
 {
     Contract.Requires<ArgumentNullException>(creditService.IsNotNull());
     this._creditService = creditService;
     this._clientProfileService = clientProfileService;
     this.userService = userService;
     this.loanRequestsService = loanRequestsService;
     this.creditManager = creditManager;
     this.mailService = mailService;
     this.emailTemplatesService = emailTemplatesService;
 }
Ejemplo n.º 2
0
 public CreditController(
     ICreditService creditService,
     IUserContext userContext,
     IClientProfileService clientProfileService,
     IUserService userService,
     ILoanRequestsService loanRequestsService,
     ICreditManager creditManager, IMailService mailService, IEmailTemplatesService emailTemplatesService)
     : base(userContext)
 {
     Contract.Requires <ArgumentNullException>(creditService.IsNotNull());
     this._creditService        = creditService;
     this._clientProfileService = clientProfileService;
     this.userService           = userService;
     this.loanRequestsService   = loanRequestsService;
     this.creditManager         = creditManager;
     this.mailService           = mailService;
     this.emailTemplatesService = emailTemplatesService;
 }