refact
All checks were successful
Dotnet build and test / log-the-inputs (push) Successful in 4s
Dotnet build and test / build (push) Successful in 2m30s

This commit is contained in:
Paul Schneider
2025-06-29 18:44:35 +01:00
parent 531797d348
commit bebca989d0
11 changed files with 66 additions and 25 deletions

View File

@ -88,7 +88,7 @@ namespace Yavsc.Controllers
[Authorize()]
public IActionResult Create(string title)
{
var result = new BlogPostInputViewModel
var result = new BlogPostBase
{
Title = title
};
@ -98,7 +98,7 @@ namespace Yavsc.Controllers
// POST: Blog/Create
[HttpPost, Authorize, ValidateAntiForgeryToken]
public IActionResult Create(BlogPostInputViewModel blogInput)
public IActionResult Create(BlogPostBase blogInput)
{
if (ModelState.IsValid)
{