Feat: Commentaire

- création de la route commentaire dans program.cs
- création du CommentairesController
- création du CommentaireViewModel
- création de la vue index.cshtml des commentaire
- création du layout Admin
This commit is contained in:
Florlan
2026-03-05 13:07:50 +01:00
parent a6e4f443e3
commit 909ed0e67b
6 changed files with 416 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="Areas\Admin\Controllers\" />
<Folder Include="wwwroot\data\" />
<Folder Include="wwwroot\js\" />
<Folder Include="wwwroot\lib\" />
@@ -25,12 +26,16 @@
<ItemGroup>
<PackageReference Include="Faker.Net" Version="2.0.163" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="10.0.3" />
<PackageReference Include="NLog.Web.AspNetCore" Version="5.*" />
<PackageReference Include="NLog" Version="5.*" />
<PackageReference Include="NLog.Web.AspNetCore" Version="6.1.1" />
<PackageReference Include="NLog" Version="6.1.1" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Webzine.Entity\Webzine.Entity.csproj" />
</ItemGroup>
</Project>