public static ArticleModel GetArticleById(int id) { var article = StoredProcs.Articles_GetArticleById(id).Execute(); if (article == null) { return(null); } return(ArticleModel.FromTable(article)); }
public static ArticleModel GetArticleById(int id) { var article = StoredProcs.Articles_GetArticleById(id).Execute(); if (article == null) { return(null); } return(ArticleModel.FromTable(article)); }