void _notificationsRepo_NotificationAdded(object sender, NotificationUpdateEventArgs e) { var msg = e.Notification.UserId + "|" + e.Notification.Id; _serverManager.SendWebSocketMessage("NotificationAdded", msg); }
void _notificationsRepo_NotificationAdded(object sender, NotificationUpdateEventArgs e) { var msg = e.Notification.UserId + "|" + e.Notification.Id; SendMessageToUserSession(new Guid(e.Notification.UserId), "NotificationAdded", msg); }