using Application.Domain.Entities; using Infrastructure.Events; using Microsoft.AspNetCore.SignalR; using Platform.Services; namespace Platform.EventHandlers { public class StatisticEventHandler : BaseEventHandler, IEventHander>, IEventHander>, IEventHander> { public StatisticEventHandler(IHubContext hub) : base(hub) { } public void Handle(EntityInserted message) { this.Notify(message); } public void Handle(EntityUpdated message) { this.Notify(message); } public void Handle(EntityDeleted message) { this.Notify(message); } } }