示例#1
0
 public static void addArticle(Article article)
 {
     articles.Add(article);
     Helper.saveArticles(articles);
 }
示例#2
0
 public static void deleteArticle(int index)
 {
     articles.RemoveAt(index);
     Helper.saveArticles(articles);
 }