The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PostViewModel.cs 571B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using Teknik.Areas.Blog.Models;
  4. using System.Linq;
  5. using System.Web;
  6. namespace Teknik.Areas.Blog.ViewModels
  7. {
  8. public class PostViewModel
  9. {
  10. public int PostId { get; set; }
  11. public int BlogId { get; set; }
  12. public DateTime DatePosted { get; set; }
  13. public DateTime DatePublished { get; set; }
  14. public bool Published { get; set; }
  15. public string Title { get; set; }
  16. public string Article { get; set; }
  17. public List<string> Tags { get; set; }
  18. }
  19. }