17 lines
337 B
C#
17 lines
337 B
C#
|
|
using Microsoft.AspNetCore.SignalR;
|
||
|
|
|
||
|
|
namespace DiunaBI.API.Hubs;
|
||
|
|
|
||
|
|
public class EntityChangeHub : Hub
|
||
|
|
{
|
||
|
|
public async Task SendEntityChange(string module, string id, string operation)
|
||
|
|
{
|
||
|
|
await Clients.All.SendAsync("EntityChanged", new
|
||
|
|
{
|
||
|
|
module,
|
||
|
|
id,
|
||
|
|
operation
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|