public AddReplyCommandHandler(IApplicationDbContext context, IBlogConfigService settings, INotificationClientService notificationClientService, ILogger <AddReplyCommandHandler> logger) { if (null != settings) { _blogConfig = settings; } _context = context; _notificationClientService = notificationClientService; _logger = logger; }
public AddCommentCommandHandler(IApplicationDbContext context, IBlogConfigService settings, ILogger <AddCommentCommandHandler> logger, INotificationClientService notificationClientService, IMaskWordFilterService wordFilterService) { if (null != settings) { _blogConfig = settings; } _context = context; _wordFilterService = wordFilterService; _notificationClientService = notificationClientService; _logger = logger; }