#199 : Patch bug dans StyleController.
This commit is contained in:
@@ -1,18 +1,18 @@
|
|||||||
namespace Webzine.WebApplication.Areas.Administration.Controllers;
|
namespace Webzine.WebApplication.Areas.Administration.Controllers
|
||||||
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
|
||||||
|
|
||||||
using ViewModels.Styles;
|
|
||||||
|
|
||||||
using Webzine.Entity;
|
|
||||||
using Webzine.Repository.Contracts;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Controleur pour la gestion des styles dans l'administration du webzine.
|
|
||||||
/// </summary>
|
|
||||||
[Area("Administration")]
|
|
||||||
public class StyleController : Controller
|
|
||||||
{
|
{
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
|
using Webzine.Entity;
|
||||||
|
using Webzine.Repository.Contracts;
|
||||||
|
using Webzine.WebApplication.Areas.Administration.ViewModels.Style;
|
||||||
|
using Webzine.WebApplication.Areas.Administration.ViewModels.Styles;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Controleur pour la gestion des styles dans l'administration du webzine.
|
||||||
|
/// </summary>
|
||||||
|
[Area("Administration")]
|
||||||
|
public class StyleController : Controller
|
||||||
|
{
|
||||||
private readonly ILogger<StyleController> logger;
|
private readonly ILogger<StyleController> logger;
|
||||||
private readonly IStyleRepository styleRepository;
|
private readonly IStyleRepository styleRepository;
|
||||||
private readonly IConfiguration configuration;
|
private readonly IConfiguration configuration;
|
||||||
@@ -171,4 +171,5 @@ public class StyleController : Controller
|
|||||||
|
|
||||||
return this.RedirectToAction("Index");
|
return this.RedirectToAction("Index");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user