Exemple #1
0
 public ChatHub(ApplicationContext context, IMapper mapper, UserService userService, TeamChatService teamChatService, TeamService teamService, ChatMessageService chatMessageService)
 {
     this.context            = context;
     this.mapper             = mapper;
     this.userService        = userService;
     this.teamChatService    = teamChatService;
     this.teamService        = teamService;
     this.chatMessageService = chatMessageService;
 }
 public UserController(UserService userService, TeamService teamService, TaskService taskService, NotificationService notificationService, IHubContext <NotificationHub> hub, TeamChatService teamChatService, IHubContext <ChatHub> chatHub, IHubContext <NotificationHub> notificationHub, SessionService sessionService, ProjectManagerService projectManagerService)
 {
     this.userService           = userService;
     this.teamService           = teamService;
     this.taskService           = taskService;
     this.notificationService   = notificationService;
     this.teamChatService       = teamChatService;
     this.chatHub               = chatHub;
     this.notificationHub       = notificationHub;
     this.sessionService        = sessionService;
     this.projectManagerService = projectManagerService;
 }
        public TeamController(TeamService teamService, UserService userService, TaskService taskService, NotificationService notificationService, TeamChatService teamChatService, IHubContext <ChatHub> chatHub, IHubContext <NotificationHub> notificationHub, IMapper mapper)

        {
            this.teamService = teamService;
            this.userService = userService;
            this.taskService = taskService;

            this.notificationService = notificationService;
            this.teamChatService     = teamChatService;
            this.chatHub             = chatHub;
            this.notificationHub     = notificationHub;
            this.mapper = mapper;
        }
Exemple #4
0
 public ChatController(TeamChatService teamChatService, UserService userService)
 {
     this.teamChatService = teamChatService;
     this.userService     = userService;
 }