public void ChallengeAccepted(Guid matchId,Guid fromPlayer, Guid toPlayer) { var n = new PlayerNotification { Id = Guid.NewGuid(), MatchId = matchId, PlayerId = toPlayer, OtherPlayer = fromPlayer, NotificationType = NotificationTypes.ChallengeAccepted }; CloudWarsData.AddNotification(n); }