public void SetArticle(Article article)
 {
     this.Article = article;
     this.ArticleId = article.Id;
 }
 public void SetArticle(Article article)
 {
     this.Article = article;
     this.SaveImageToComputer();
     this.Article.VotesUp = article.For;
     this.Article.VotesDown = article.Against;
 }
 public EditArticleViewModel(Article article = null)
 {
 }
 public void SetChoosenArticle(Article article)
 {
     if (article != null)
     {
         this.Article = article;
     }
 }
 public static void SetCurrentArticle(DependencyObject obj, Article value)
 {
     obj.SetValue(CurrentArticleProperty, value);
 }