Compare commits

..

1 Commits

Author SHA1 Message Date
YuukanOO
d573536ba4 Ajout de la gestion des commentaires sur l'app MVC 2021-04-27 11:59:01 +02:00

View File

@ -24,6 +24,7 @@ namespace Website.Controllers
} }
[HttpPost("links/{linkId:guid}/comment")] [HttpPost("links/{linkId:guid}/comment")]
[ValidateAntiForgeryToken]
public IActionResult Create(PublishCommentCommand cmd) public IActionResult Create(PublishCommentCommand cmd)
{ {
if (!ModelState.IsValid) if (!ModelState.IsValid)