namespace MyWebLog.Features.Posts;
///
/// The model used to render multiple posts
///
public class MultiplePostModel : MyWebLogModel
{
///
/// The posts to be rendered
///
public IEnumerable Posts { get; init; }
///
/// Constructor
///
/// The posts to be rendered
/// The details for the web log
public MultiplePostModel(IEnumerable posts, WebLogDetails webLog) : base(webLog)
{
Posts = posts;
}
}