/// <summary>
 /// Inject the contructor with insurance dependencies
 /// </summary>
 public InsuranceRepository(IEmailRepository emailRepo, IUserRepository userRepo, IDeductibleRepository deductibleRepo)
 {
     this.userRepo       = userRepo;
     this.emailRepo      = emailRepo;
     this.deductibleRepo = deductibleRepo;
 }
Пример #2
0
 /// <summary>
 /// Property controller contructor to use contructor injection based on interface type
 /// </summary>
 public DeductibleController(IDeductibleRepository deductibleRepo, IInsuranceRepository insRepo)
 {
     this.deductibleRepo = deductibleRepo;
       this.insRepo = insRepo;
 }
Пример #3
0
 /// <summary>
 /// Property controller contructor to use contructor injection based on interface type
 /// </summary>
 public DeductibleController(IDeductibleRepository deductibleRepo, IInsuranceRepository insRepo)
 {
     this.deductibleRepo = deductibleRepo;
     this.insRepo        = insRepo;
 }
 /// <summary>
 /// Inject the contructor with insurance dependencies 
 /// </summary>
 public InsuranceRepository(IEmailRepository emailRepo, IUserRepository userRepo, IDeductibleRepository deductibleRepo)
 {
     this.userRepo = userRepo;
       this.emailRepo = emailRepo;
       this.deductibleRepo = deductibleRepo;
 }