public NotificationService() { var dbContext = DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow); dataProcessingProvider = new TicketDataProcessingProvider(dbContext); ticketEnquiry = new TicketDataProcessingProvider(dbContext); }
public TicketService() { var dbContext = DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow); dataProcessingProvider = new TicketDataProcessingProvider(dbContext); this.unitOfWork = new UnitOfWork(DbContextSelector.getInstance().getDbFactory(DbContextSelector.DbName.Workflow)); ticketEnquiry = (ITicketEnquiry)dataProcessingProvider; load = new LoadTicketData(dataProcessingProvider); this.subCategoryRepo = new TicketSubCategoryRepository(dbContext); this.categoryRepo = new TicketCategoryRepository(dbContext); this.agentRepo = new TicketAgentRepository(dbContext); this.deptRepo = new TicketDeptRepository(dbContext); this.groupPolicyRepo = new TicketGroupPolicyRepository(dbContext); this.teamRepo = new TicketTeamRepository(dbContext); this.teamAgentAssignRepo = new TicketTeamAgentAssignRepository(dbContext); this.ticketItemRepo = new TicketItemRepository(dbContext); this.ticketLookupRepo = new TicketLookupRepository(dbContext); this.slaRepo = new TicketSlaRepository(dbContext); this.priorityRepo = new TicketPriorityRepository(dbContext); this.groupPolicyTeamAssignRepo = new TicketGroupPolicyTeamAssignRepository(dbContext); this.ticketingRepo = new TicketingRepository(dbContext); this.groupPolicyReportAssignRepo = new TicketGroupPolicyReportAssignRepository(dbContext); this.slaMappingRepo = new TicketSlaMappingRepository(dbContext); }
public K2ActionHandlers(ITicketEnquiry dataEnquiry, DataObject.EmployeeDto loginUsr) { this.dataEnquiry = dataEnquiry; this.loginUsr = loginUsr; }