public TicketService(IEmailService emailService, ITicketRepository ticketRepository, ITicketLogRepository ticketLogRepository, IDepartmentRepository departmentRepository, IUserRepository userRepository, IEmailSendToService emailSendToService, IEmailTemplateRepository emailTemplateRepository, IUserDepartmentRepository userDepartmentRepository, ITicketWorkflowRepository ticketWorkflowRepository, IFormTemplateRepository formTemplateRepository, ITicketFieldRepository ticketFieldRepository, IDatabaseRepository databaseRepository, ICustomerRepository customerRepository, ITicketStatusRepository ticketStatusRepository)
 {
     _emailService             = emailService;
     _ticketRepository         = ticketRepository;
     _ticketLogRepository      = ticketLogRepository;
     _departmentRepository     = departmentRepository;
     _userRepository           = userRepository;
     _emailSendToService       = emailSendToService;
     _emailTemplateRepository  = emailTemplateRepository;
     _userDepartmentRepository = userDepartmentRepository;
     _ticketWorkflowRepository = ticketWorkflowRepository;
     _formTemplateRepository   = formTemplateRepository;
     _ticketFieldRepository    = ticketFieldRepository;
     _databaseRepository       = databaseRepository;
     _customerRepository       = customerRepository;
     _ticketStatusRepository   = ticketStatusRepository;
 }
Ejemplo n.º 2
0
 public TicketWorkflowController(ITicketWorkflowRepository ticketWorkflowRepository)
 {
     _ticketWorkflowRepository = ticketWorkflowRepository;
 }