Blog Files model

This commit is contained in:
Paul Schneider 2026-03-01 02:13:26 +00:00
commit bfb37bc214
12 changed files with 318 additions and 173 deletions

View file

@ -109,7 +109,7 @@ namespace Yavsc.Controllers
if (ModelState.IsValid)
{
BlogPost post = blogSpotService.Create(User.GetUserId(),
blogInput);
blogInput, Request.Form.Files);
return RedirectToAction("Index");
}
return View("Edit", blogInput);