Merge branch 'dev' into j3/feat/filter

# Conflicts:
#	Webzine.WebApplication/Areas/Administration/Controllers/CommentaireController.cs
#	Webzine.WebApplication/Controllers/ArtisteController.cs
#	Webzine.WebApplication/Controllers/RechercheController.cs
This commit is contained in:
mirage
2026-04-02 16:27:16 +02:00
27 changed files with 286 additions and 201 deletions

View File

@@ -184,6 +184,12 @@ public class TitreController : Controller
public IActionResult Delete(AdminTitreDelete model)
{
var titre = this.titreRepository.Find(model.Id);
if (!this.ModelState.IsValid)
{
return this.View(model);
}
if (titre != null)
{
this.titreRepository.Delete(titre);