Пример #1
0
 public static void deleteUser(int index)
 {
     users.RemoveAt(index);
     Helper.saveUsers(users);
 }
Пример #2
0
 public static void addArticle(Article article)
 {
     articles.Add(article);
     Helper.saveArticles(articles);
 }
Пример #3
0
 public static void addArticlePreview(Article articlePrev)
 {
     articlesPreview.Add(articlePrev);
     Helper.saveArticlesPreview(articlesPreview);
 }
Пример #4
0
 public static void deleteArticle(int index)
 {
     articles.RemoveAt(index);
     Helper.saveArticles(articles);
 }