Why do we need to maintain "static" methods in the Article.cs?
Can anybody please explain why do we need to have static methods ie
public static int InsertArticle()
public static List<Article> GetArticles()
public static int GetArticleCount(int CategoryID) etc?
And another one that is bothering me is that the logic is separated between two methods
suppose say, we have
public bool Delete() which in turn calls Article.DeleteArticle().
I was not able to understand the purpose of this approach? why can we not have a single method for deleting an article in the Article.cs?
Hope somebody helps me to clarify this.