Table of Contents

Class NewsPublicationRequestDto

Namespace
GastroSky.Models.DTO.News
Assembly
GastroSky.Models.dll

Request DTO for the publication of a GastroSky.Models.DTO.News article draft.

public sealed class NewsPublicationRequestDto
Inheritance
NewsPublicationRequestDto
Inherited Members

Properties

Publish

Should the GastroSky.Models.DTO.News article be published? Set this to false to unpublish an article that is currently live.

public bool Publish { get; set; }

Property Value

bool

Slug

News.Slug.

[Required]
public string Slug { get; set; }

Property Value

string