public UnitOfWork(IProductRepository productRepository, IPersonRepository personRepository, IIncidentReportRepository incidentReportRepository) { Products = productRepository; Persons = personRepository; IncidentReport = incidentReportRepository; }
public IncidentReportController(IErrorLog errorLog, IMerchantDataRepository merchantDataRepository, IIncidentReportRepository incidentReportRepository, IWorkFlowDetailsRepository iWorkFlowDetailsRepository) : base(errorLog, merchantDataRepository) { _errorLog = errorLog; _incidentReportRepository = incidentReportRepository; _iWorkFlowDetailsRepository = iWorkFlowDetailsRepository; }