public ChecklistController(IDependencyFactory dependencyFactory) { _checklistRepository = dependencyFactory.GetInstance<ICheckListRepository>(); _questionRepository = dependencyFactory.GetInstance<IQuestionRepository>(); _questionResponseRepository = dependencyFactory.GetInstance<IQuestionResponseRepository>(); _clientDetailsService = dependencyFactory.GetInstance<IClientDetailsService>(); _getChecklistsQuery = dependencyFactory.GetInstance<IGetChecklistsQuery>(); _checklistQuestionRepository = dependencyFactory.GetInstance<IChecklistQuestionRepository>(); _employeeRespository = dependencyFactory.GetInstance<IEmployeeRepository>(); _impressionRespository = dependencyFactory.GetInstance<IImpressionTypeRepository>(); _categoryRepository = dependencyFactory.GetInstance<ICategoryRepository>(); _timescaleRepository = dependencyFactory.GetInstance<ITimescaleRepository>(); _userForAuditingRepository = dependencyFactory.GetInstance<IUserForAuditingRepository>(); _siteRepository = dependencyFactory.GetInstance<ISiteRepository>(); _checklistPdfCreator = dependencyFactory.GetInstance<IChecklistPdfCreator>(); _clientDocumentationChecklistPdfWriter = dependencyFactory.GetInstance<IClientDocumentationChecklistPdfWriter>(); _log = dependencyFactory.GetInstance<IPeninsulaLog>(); _qaAdvisorRepository = dependencyFactory.GetInstance<IQaAdvisorRepository>(); _industryRepository = dependencyFactory.GetInstance<IIndustryRepository>(); _bus = dependencyFactory.GetInstance<IBus>(); }
public ChecklistService(IDependencyFactory dependencyFactory) { _checklistRepository = dependencyFactory.GetInstance<ICheckListRepository>(); _userForAuditingRepository = dependencyFactory.GetInstance<IUserForAuditingRepository>(); _clientDocumentationChecklistPdfWriter = dependencyFactory.GetInstance<IClientDocumentationChecklistPdfWriter>(); }