public void ConfirmDelivery(IList <string> receivedIds) { Models.User user; if (AuthorizedUser(out user)) { DataClassesManager.InsertLog(string.Join(",", receivedIds), "SignalR", "ConfirmDelivery", Context.ConnectionId, string.Format("{0}-{1}", user.UserId, user.Username)); var updates = DataClassesManager.NotificationDelivered(user.UserId, string.Join(",", receivedIds)); foreach (var update in updates) { var recipientConnectionId = _connections.GetConnectionId(update.Recipient_Id); if (!string.IsNullOrEmpty(recipientConnectionId)) { Clients.Client(recipientConnectionId).MyMessageDelivered(update.Id, update.Content); } } } }