Add BlogPostViewModel for view specific processing

This commit is contained in:
Robert Marshall 2019-04-28 07:56:25 +01:00
parent 647696aa92
commit dda522d221
6 changed files with 34 additions and 18 deletions

View file

@ -1,5 +1,4 @@
@using Website.Models;
@model BlogPost;
@model BlogPostViewModel;
@{
ViewData["Title"] = "Home";