示例#1
0
        public void RestoreTo(WikiName name, WikiVersion version)
        {
            Wiki o = dbManager.GetWikiByVerslion(name, version);
            Wiki n = new Wiki();
            n.Name = o.Name;
            n.Content = o.Content;

            dbManager.WriteWiki(n);
        }
示例#2
0
 public Wiki GetWiki(WikiName name, WikiVersion version)
 {
     return dbManager.GetWikiByVerslion(name, version);
 }