示例#1
0
 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;
 }
示例#2
0
 public static Boolean CanDelete(NewsCategory category)
 {
     // TODO: Validate Can Delete
     return true;
 }