private static Message AddMessage(Author author, string text, DateTime createdOn) { var msg = author.AddMessage(new Message() { Text = text, CreatedOn = createdOn }); return(msg); }