public ChatHub(IMessageService messageService, IChatService chatService, UserManager <ApplicationUser> userManager, IHubState <ChatHub, IChatHub> hubState, ILogger <ChatHub> logger) { _messageService = messageService; _chatService = chatService; _userManager = userManager; _hubState = hubState; _logger = logger; }
public ChatController(IChatService chatService, IMessageService messageService, UserManager <ApplicationUser> userManager, ILogger <ChatController> logger, IHubContext <ChatHub, IChatHub> chathub, IHubState <ChatHub, IChatHub> chatHubState, IAuthorizationService authorizationService) { _userManager = userManager; _messageService = messageService; _chatService = chatService; _logger = logger; _chatHub = chathub; _chatHubState = chatHubState; _authorizationService = authorizationService; }
public DepartmentController(IDepartmentService departmentService, IHubContext <ChatHub, IChatHub> chatHub, IHubState <ChatHub, IChatHub> chatHubState, IChatService chatService, UserManager <ApplicationUser> userManager, ILogger <DepartmentController> logger, IAuthorizationService authorizationService) { _departmentService = departmentService; _chatHub = chatHub; _chatHubState = chatHubState; _chatService = chatService; _userManager = userManager; _logger = logger; _authorizationService = authorizationService; }