mirror of
https://github.com/ckaczor/WeatherService.git
synced 2026-01-13 17:23:11 -05:00
Change device refreshed notification for SignalR
This commit is contained in:
@@ -25,11 +25,11 @@ namespace WeatherService
|
||||
|
||||
#region Events
|
||||
|
||||
private void FireDeviceRefreshed(DeviceBase oDevice)
|
||||
private void FireDeviceRefreshed(DeviceBase device)
|
||||
{
|
||||
WeatherServiceDuplex.FireNotification(oDevice);
|
||||
WeatherServiceDuplex.FireNotification(device);
|
||||
|
||||
_hubContext.Clients.All.addMessage(oDevice.ToJson());
|
||||
_hubContext.Clients.All.DeviceRefreshed(device);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user