public IndexModel(IList<NewsCategory> categorys, Dictionary<NewsCategory, IList<News>> news, News New, NewsCategory category) { this.Categorys = categorys; this.News = news; this.New = New; this.category = category; }
public static Boolean CanDelete(NewsCategory category) { // TODO: Validate Can Delete return true; }