Created
April 6, 2021 16:21
-
-
Save crgrieve/52107762b87ab6d19693eb6009fc6a8e to your computer and use it in GitHub Desktop.
A model class to return from our API contoller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading.Tasks; | |
namespace Umbracov9AlphaAPIs.APIModels | |
{ | |
public class BlogPostModel | |
{ | |
public string Title { get; init; } | |
public string Preview { get; init; } | |
public string Url { get; init; } | |
public DateTime PublishedDate { get; init; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment