Beispiel #1
0
        public void Register()
        {
            RepositoryServer repositoryServer = new RepositoryServer();

            repositoryServer.Save(this);
            Console.WriteLine("注册成功");
        }
Beispiel #2
0
        //public Repoistory repoistory;
        //public int Rewardtype;
        //public User Answer;
        //public int Summary;

        #endregion



        //这两个需要整合一下,不过暂时先搁置
        //没设置参数,因为在实现
        #region  发布
        public override void Publish()
        {
            _publishTime = DateTime.Now;
            RepositoryServer repositoryServer = new RepositoryServer();

            repositoryServer.Save(this);
        }