コード例 #1
0
 public UnitOfWork(IProductRepository productRepository,
                   IPersonRepository personRepository,
                   IIncidentReportRepository incidentReportRepository)
 {
     Products       = productRepository;
     Persons        = personRepository;
     IncidentReport = incidentReportRepository;
 }
コード例 #2
0
 public IncidentReportController(IErrorLog errorLog, IMerchantDataRepository merchantDataRepository,
                                 IIncidentReportRepository incidentReportRepository, IWorkFlowDetailsRepository iWorkFlowDetailsRepository)
     : base(errorLog, merchantDataRepository)
 {
     _errorLog = errorLog;
     _incidentReportRepository   = incidentReportRepository;
     _iWorkFlowDetailsRepository = iWorkFlowDetailsRepository;
 }