diff --git a/GrossesMitaines/GrossesMitaines/GrossesMitaines.csproj b/GrossesMitaines/GrossesMitaines/GrossesMitaines.csproj index 7929a10..1dffffc 100644 --- a/GrossesMitaines/GrossesMitaines/GrossesMitaines.csproj +++ b/GrossesMitaines/GrossesMitaines/GrossesMitaines.csproj @@ -15,7 +15,6 @@ - diff --git a/GrossesMitaines/GrossesMitaines/ViewComponents/EnVedette.cs b/GrossesMitaines/GrossesMitaines/ViewComponents/EnVedette.cs new file mode 100644 index 0000000..6148f8a --- /dev/null +++ b/GrossesMitaines/GrossesMitaines/ViewComponents/EnVedette.cs @@ -0,0 +1,14 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; +using System.Threading.Tasks; + +namespace GrossesMitaines.ViewComponents { + public class EnVedette : ViewComponent { + + + public async Task InvokeAsync() { + return View(); + } + + } +} diff --git a/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml b/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml index 964c2b1..8fbe7fe 100644 --- a/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml +++ b/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml @@ -2,8 +2,8 @@ ViewData["Title"] = "Maison"; } -

Des produits bien commodes faits par des aînées d'expérience.

+ \ No newline at end of file