コード例 #1
0
        public bool IsMessageAuthor(int messageId, string username)
        {
            var author = _messageRepo.GetMessageAuthor(messageId);

            return(author.Nickname == username);
        }