public static void AddReply(string repo, int number, GitHubAutoReplyType type, long commentId) { var db = ApplicationContext.Current.DatabaseContext.Database; var poco = new GitHubAutoReplyPoco { Repository = repo, Number = number, Type = (int)type, CommentId = commentId, CreateDate = DateTime.UtcNow }; db.Insert(poco); }
internal GitHubAutoReply(GitHubAutoReplyPoco poco) { _poco = poco; }