public TicketTopicsController(IUnitOfWork unitOfWork,
                               ITicketTopicRepository ticketTopicRepository,
                               IMapper mapper)
 {
     this.mapper                = mapper;
     this.unitOfWork            = unitOfWork;
     this.ticketTopicRepository = ticketTopicRepository;
 }
Пример #2
0
 public TicketsController(IUserConnectionManager userConnectionManager,
                          IHubContext <NotificationHub> notificationHubContext,
                          UserManager <ApplicationUser> userManager,
                          RoleManager <ApplicationRole> roleManager,
                          ITicketTopicRepository ticketTopicRepository,
                          ITicketStatusRepository ticketStatusRepository,
                          ITicketPriorityRepository ticketPriorityRepository,
                          ITicketRepository ticketRepository,
                          INotificationRepository notificationRepository,
                          IUnitOfWork unitOfWork,
                          IMapper mapper)
 {
     this.mapper                   = mapper;
     this.unitOfWork               = unitOfWork;
     this.userConnectionManager    = userConnectionManager;
     this.notificationHubContext   = notificationHubContext;
     this.userManager              = userManager;
     this.roleManager              = roleManager;
     this.ticketTopicRepository    = ticketTopicRepository;
     this.ticketStatusRepository   = ticketStatusRepository;
     this.ticketPriorityRepository = ticketPriorityRepository;
     this.ticketRepository         = ticketRepository;
     this.notificationRepository   = notificationRepository;
 }