prettier
This commit is contained in:
parent
8755cd6cbb
commit
a4976039d5
1 changed files with 3 additions and 2 deletions
|
|
@ -192,10 +192,11 @@ namespace Yavsc.Controllers
|
|||
_context.SaveChanges();
|
||||
ViewData["StatusMessage"] = "Post modified";
|
||||
return RedirectToAction("Index");
|
||||
} // TODO Else hit me hard
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewData["StatusMessage"] = "Access denied ...";
|
||||
ViewData["StatusMessage"] = "Accès restreint";
|
||||
return new ChallengeResult();
|
||||
}
|
||||
}
|
||||
return View(blog);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue