#152 routage recherche mis a jour et géré dans RouteConfiguration.cs
This commit is contained in:
@@ -10,7 +10,6 @@ namespace Webzine.WebApplication.Controllers
|
||||
using Webzine.WebApplication.ViewModels.Recherche;
|
||||
using Webzine.WebApplication.ViewModels.Titre;
|
||||
|
||||
[Route("recherche")]
|
||||
public class RechercheController : Controller
|
||||
{
|
||||
private readonly ILogger<RechercheController> logger;
|
||||
@@ -22,7 +21,7 @@ namespace Webzine.WebApplication.Controllers
|
||||
this.titreRepository = titreRepository;
|
||||
}
|
||||
|
||||
[HttpPost("")]
|
||||
[HttpPost]
|
||||
public IActionResult Index(string mot)
|
||||
{
|
||||
this.logger.LogInformation("Recherche artistes/titres pour le mot : {Mot}.", mot);
|
||||
|
||||
Reference in New Issue
Block a user