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; }
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; }