public ListOutPostByBlogResponse( Guid id, string title, string excerpt, string slug, DateTime createdAt, ListOutPostByBlogUserResponse author, List <ListOutPostByBlogTagResponse> tags) { Id = id; Title = title; Excerpt = excerpt; Slug = slug; CreatedAt = createdAt; Author = author; Tags = tags; }
public ListOutPostByBlogResponse SetAuthor(string id, string familyName, string givenName) { Author = new ListOutPostByBlogUserResponse(id, familyName, givenName); return(this); }