fix
This commit is contained in:
@@ -54,7 +54,7 @@ namespace Webzine.WebApplication.Areas.Administration.Controllers
|
|||||||
|
|
||||||
if (commentaire == null)
|
if (commentaire == null)
|
||||||
{
|
{
|
||||||
this.logger.LogWarning("Commentaire avec ID {Id} introuvable pour suppression.", id);
|
this._logger.LogWarning("Commentaire avec ID {Id} introuvable pour suppression.", id);
|
||||||
return RedirectToAction("Index");
|
return RedirectToAction("Index");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
[HttpGet("/artiste/{nom}")]
|
[HttpGet("/artiste/{nom}")]
|
||||||
public IActionResult Index(string nom)
|
public IActionResult Index(string nom)
|
||||||
{
|
{
|
||||||
this._logger.LogInformation("Tentative d'accès à l'artiste avec le nom : {NomArtiste}", nom);
|
this.logger.LogInformation("Tentative d'accès à l'artiste avec le nom : {NomArtiste}", nom);
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(nom))
|
if (string.IsNullOrEmpty(nom))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user