QueueVisitorToGroupBusyNotificationHandler.cs 830 B

123456789101112131415161718192021222324
  1. using Hotline.CallCenter.Calls;
  2. using Hotline.Share.Notifications;
  3. using MediatR;
  4. namespace Hotline.Application.Handlers.CallCenter.FlowControl
  5. {
  6. public class QueueVisitorToGroupBusyNotificationHandler:INotificationHandler<QueueVisitorToGroupBusyNotification>
  7. {
  8. private readonly ICallRepository _callRepository;
  9. private readonly ICallDetailRepository _callDetailRepository;
  10. public QueueVisitorToGroupBusyNotificationHandler(ICallRepository callRepository, ICallDetailRepository callDetailRepository)
  11. {
  12. _callRepository = callRepository;
  13. _callDetailRepository = callDetailRepository;
  14. }
  15. public async Task Handle(QueueVisitorToGroupBusyNotification notification, CancellationToken cancellationToken)
  16. {
  17. //TODO
  18. }
  19. }
  20. }