public NotificationController(IHttpContextAccessor contextAccessor, UserManager <ApplicationUser> userManager, ILogger <NotificationController> logger, INotifyJobCompleteService notifyJobCompleteService, IOptions <AppSettings> appSettings, IMapper mapper, IUnitOfWork unitOfWork, INotificationRepository notificationRepository, ISupportChatService supportChatService) : base(contextAccessor, userManager, logger) { _notificationRepository = notificationRepository; _unitOfWork = unitOfWork; _appSettings = appSettings.Value; _notifyJobCompleteService = notifyJobCompleteService; _mapper = mapper; _supportChatService = supportChatService; }
public ChatController( IHttpContextAccessor contextAccessor, UserManager <ApplicationUser> userManager, ILogger <ChatController> logger, IOptions <ChatSettings> chatSettings, IOptions <AppSettings> appSettings, IPushSubscriptionStore subscriptionStore, IPushNotificationService notificationService, HubLifetimeManager <ChatHub> hub, IMapper mapper, IUnitOfWork unitOfWork, IChatRepository chatRepository, ISupportChatService supportChatService) : base(contextAccessor, userManager, logger) { _chatRepository = chatRepository; _unitOfWork = unitOfWork; _chatSettings = chatSettings.Value; _appSettings = appSettings.Value; _subscriptionStore = subscriptionStore; _notificationService = notificationService; _hub = hub; _mapper = mapper; _supportChatService = supportChatService; }