Blog Files model
This commit is contained in:
parent
40e8e08690
commit
bfb37bc214
12 changed files with 318 additions and 173 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue