using MediatR;

namespace CMSMicroservice.Application.BlogPostCQ.Commands.PublishBlogPost;

public class PublishBlogPostCommand : IRequest<PublishBlogPostResult>
{
    public long Id { get; set; }
}

public class PublishBlogPostResult
{
    public bool Success { get; set; }
    public string Message { get; set; } = string.Empty;
    public DateTime? PublishedAt { get; set; }
}
