Results site in .NET Core

This commit is contained in:
Elton Stoneman
2018-09-26 10:29:39 +01:00
parent 879e5bc477
commit 985af62bb1
14 changed files with 165 additions and 42 deletions

View File

@ -1,14 +1,9 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using Result.Models;
using Microsoft.AspNetCore.SignalR;
namespace Result.Hubs
{
public class ResultsHub : Hub
{
public async Task UpdateResults(ResultsModel results)
{
await Clients.All.SendAsync("UpdateResults", results);
}
//no public methods, only used for push from PublishRTesultsTimer
}
}