public bool TryAddMessage(ChatMessageViewModel message) { if (!ReferenceEquals(message.User, User)) { return(false); } _messages.Add(message); LastMessageDateTime = message.MessageDateTime; UnreadMessageCount = _messages.Count(x => !x.HasBeenSeen); return(true); }