using System.Collections.Generic; using Orchard.Comments.Models; using Orchard.Mvc.ViewModels; namespace Orchard.Comments.ViewModels { public class CommentsIndexViewModel : BaseViewModel { public IList Comments { get; set; } public CommentIndexOptions Options { get; set; } } public class CommentEntry { public CommentPartRecord Comment { get; set; } public string CommentedOn { get; set; } public bool IsChecked { get; set; } } public class CommentIndexOptions { public CommentIndexFilter Filter { get; set; } public CommentIndexBulkAction BulkAction { get; set; } } public enum CommentIndexBulkAction { None, Pend, Approve, MarkAsSpam, Delete } public enum CommentIndexFilter { All, Pending, Approved, Spam, } }