Class UpdateBlogPostRequest
- Namespace
- Builvero.Application.DTOs.Blog
- Assembly
- Builvero.Application.dll
Request DTO for updating an existing blog post.
public class UpdateBlogPostRequest
- Inheritance
-
UpdateBlogPostRequest
- Inherited Members
Properties
BodyHtml
Gets or sets the HTML body content of the blog post.
[Required]
public string BodyHtml { get; set; }
Property Value
- string
- Request DTO for updating an existing blog post.
Remarks
This content will be sanitized before storage to prevent XSS attacks.
IsPublished
Gets or sets a value indicating whether the blog post should be published.
public bool IsPublished { get; set; }
Property Value
- bool
- Request DTO for updating an existing blog post.
Subject
Gets or sets the subject/title of the blog post.
[Required]
[StringLength(200, MinimumLength = 1)]
public string Subject { get; set; }
Property Value
- string
- Request DTO for updating an existing blog post.