public EventTaskNotificationService( DataContext context, IUserNotificationService userNotificationService, IUserService userService, IEventTasksService eventTaskService, IOptions <SmtpSettings> smtpSettings, IOptions <AppSettings> appSettings, IConfiguration configuration, ILogger <EventTaskNotificationService> logger, IServiceProvider services //IHubContext<NotificationHub, INotificationHub> hub ) { _context = context; _userNotificationService = userNotificationService; _userService = userService; _eventTaskService = eventTaskService; _smtpSettings = smtpSettings.Value; _appSettings = appSettings.Value; _configuration = configuration; _services = services; _logger = logger; }
public EventTasksController(DataContext context, IEventTasksService eventTaskService) { _context = context; _eventTasksService = eventTaskService; }