diff --git a/Webzine.WebApplication/Areas/Administration/Views/Artiste/Delete.cshtml b/Webzine.WebApplication/Areas/Administration/Views/Artiste/Delete.cshtml new file mode 100644 index 0000000..e69de29 diff --git a/Webzine.WebApplication/Areas/Administration/Views/Artiste/Edit.cshtml b/Webzine.WebApplication/Areas/Administration/Views/Artiste/Edit.cshtml new file mode 100644 index 0000000..e69de29 diff --git a/Webzine.WebApplication/Areas/Administration/Views/Artiste/Index.cshtml b/Webzine.WebApplication/Areas/Administration/Views/Artiste/Index.cshtml index a9cf9fd..62dea6a 100644 --- a/Webzine.WebApplication/Areas/Administration/Views/Artiste/Index.cshtml +++ b/Webzine.WebApplication/Areas/Administration/Views/Artiste/Index.cshtml @@ -35,12 +35,12 @@ + class="btn btn-sm text-primary"> + class="btn btn-sm text-primary"> diff --git a/Webzine.WebApplication/Controllers/ArtisteController.cs b/Webzine.WebApplication/Controllers/ArtisteController.cs index 59f3013..2ca4273 100644 --- a/Webzine.WebApplication/Controllers/ArtisteController.cs +++ b/Webzine.WebApplication/Controllers/ArtisteController.cs @@ -1,6 +1,7 @@ using Microsoft.AspNetCore.Mvc; using Webzine.Entity.Fixtures; using Webzine.WebApplication.ViewModels; +using Webzine.WebApplication.ViewModels.Artiste; namespace Webzine.WebApplication.Controllers { diff --git a/Webzine.WebApplication/ViewModels/Artiste/ArtisteModel.cs b/Webzine.WebApplication/ViewModels/Artiste/ArtisteModel.cs index 2b9f04c..3174af4 100644 --- a/Webzine.WebApplication/ViewModels/Artiste/ArtisteModel.cs +++ b/Webzine.WebApplication/ViewModels/Artiste/ArtisteModel.cs @@ -10,7 +10,7 @@ namespace Webzine.WebApplication.ViewModels.Artiste /// /// Artiste dont on affiche les détails. /// - public Artiste Artiste { get; set; } + public Entity.Artiste Artiste { get; set; } /// /// Liste des titres de l'artiste. diff --git a/Webzine.WebApplication/Views/Artiste/Index.cshtml b/Webzine.WebApplication/Views/Artiste/Index.cshtml index 2063243..4d56d1a 100644 --- a/Webzine.WebApplication/Views/Artiste/Index.cshtml +++ b/Webzine.WebApplication/Views/Artiste/Index.cshtml @@ -1,4 +1,4 @@ -@model Webzine.WebApplication.ViewModels.ArtisteModel +@model Webzine.WebApplication.ViewModels.Artiste.ArtisteModel @{ ViewData["Title"] = "Artiste";