public void AddPrivateMessageNotification(int privateMessageId) { Trace.Assert(Context.PersonId.HasValue); var privateMessage = ServiceLocator.PrivateMessageService.GetSentMessage(privateMessageId); var notifications = privateMessage.RecipientPersons.Select(x => builder.BuildPrivateMessageNotification(Context.NowSchoolTime, privateMessage, privateMessage.Sender, x)); NotificationStorage.Add(notifications.ToList()); }