public PWSService()
 {
     _db = new PWS_DatabaseEntities();
     _addressService = new AddressService(_db);
     _riskAssessmentService = new RiskAssessmentService(_db);
     _riskQuestionsService = new RiskQuestionService(_db);
 }
Beispiel #2
0
 public ContractService(IServiceProvider services)
 {
     _contractRepository  = services.GetRequiredService <IContractRepository>();
     _riskQuestionService = services.GetRequiredService <IRiskQuestionService>();
 }
 public RiskQuestionAppService(IServiceProvider services)
 {
     _riskQuestionService = services.GetRequiredService <IRiskQuestionService>();
 }