11 lines
306 B
C#
11 lines
306 B
C#
|
using System.Collections.Concurrent;
|
|||
|
|
|||
|
namespace YaeBlog.Core.Models;
|
|||
|
|
|||
|
public sealed class BlogContents(ConcurrentBag<BlogContent> drafts, ConcurrentBag<BlogContent> posts)
|
|||
|
{
|
|||
|
public ConcurrentBag<BlogContent> Drafts { get; } = drafts;
|
|||
|
|
|||
|
public ConcurrentBag<BlogContent> Posts { get; } = posts;
|
|||
|
}
|