Add basic blog repo and models to test potential project structure
This commit is contained in:
parent
7703f9d8bb
commit
19c3c49f4d
10 changed files with 91 additions and 3 deletions
8
Website/Views/Blog/View.cshtml
Normal file
8
Website/Views/Blog/View.cshtml
Normal file
|
@ -0,0 +1,8 @@
|
|||
@using Website.Models;
|
||||
@model BlogPost;
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Blog";
|
||||
}
|
||||
|
||||
@Model.Id
|
|
@ -1,3 +1,3 @@
|
|||
@using Website
|
||||
@using Website.Models
|
||||
@using Website.ViewModels
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue