Пример #1
0
 public ChatHub(IMessageService service, ILogger <ChatHub> logger, IAuthenticationService <int> authService, IChatHubService chatHubService, IUserProfilesService profileService, IVideoChatService videoChatService, INotificationService notificationContext, IHubContext <NotificationHub> notificationHubContext)
 {
     _service                = service;
     _authService            = authService;
     _chatHubService         = chatHubService;
     _profileService         = profileService;
     _videoChatService       = videoChatService;
     _notificationService    = notificationContext;
     _notificationHubContext = notificationHubContext;
 }
Пример #2
0
 public VideoChatApiController(IVideoChatService service, ILogger <MessageApiController> logger, IAuthenticationService <int> authService) : base(logger)
 {
     _service     = service;
     _authService = authService;
 }