Skip to content

Instantly share code, notes, and snippets.

@sumitkharche

sumitkharche/Post.cs

Created Sep 19, 2020
Embed
What would you like to do?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorCosmicBlog.Models
{
public class Post
{
public string _id { get; set; }
public string Slug { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public DateTime Published_at { get; set; }
public PostMetadata Metadata { get; set; }
}
public class PostMetadata
{
public Hero hero { get; set; }
}
public class Hero
{
public string url { get; set; }
public string imgix_url { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.