You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
437 B
18 lines
437 B
using Microsoft.AspNetCore.SignalR;
|
|
using ServerManager.Interface;
|
|
|
|
namespace ServerManager.Hubs
|
|
{
|
|
public class SalesHub : Hub<ISalesHub>
|
|
{
|
|
public override Task OnConnectedAsync()
|
|
{
|
|
Clients.
|
|
return base.OnConnectedAsync();
|
|
}
|
|
public async Task Publish(string a_companyId)
|
|
{
|
|
await Clients.OthersInGroup(a_companyId).AddTransaction();
|
|
}
|
|
}
|
|
}
|
|
|