public void AddArticle(HitomiArticle article)
        {
            HitomiLogModel mm = new HitomiLogModel();

            mm.Id      = article.Magic;
            mm.Title   = article.Title;
            mm.Artists = article.Artists;
            mm.Tags    = article.Tags;
            mm.Time    = DateTime.Now;
            model.Add(mm);
        }
Exemple #2
0
        public void AddArticle(HitomiArticle article)
        {
            HitomiLogModel mm = new HitomiLogModel();

            mm.Id      = article.Magic;
            mm.Title   = article.Title;
            mm.Artists = article.Artists;
            mm.Tags    = article.Tags;
            mm.Time    = DateTime.Now;
            model.Add(mm);
            downloaded.Add(Convert.ToInt32(article.Magic));
        }