diff options
Diffstat (limited to 'Views/Home')
-rw-r--r-- | Views/Home/_Projects.cshtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Views/Home/_Projects.cshtml b/Views/Home/_Projects.cshtml index d35fc11..314a9f0 100644 --- a/Views/Home/_Projects.cshtml +++ b/Views/Home/_Projects.cshtml @@ -1,10 +1,10 @@ -@model IQueryable<MyDarling.Models.UnderwearBundle>; +@model MyDarling.Models.IRepository; @using System.Globalization; <section class="projects-section bg-light" id="projects"> <div class="container px-3 px-lg-4 mt-4"> <div class="row gx-4 gx-lg-5 row-cols-2 row-cols-md-3 row-cols-xl-4 justify-content-center"> - @foreach (var bundle in @Model) + @foreach (var bundle in @Model.Bundles.Where(b => b.Price != 0)) { <div class="col mb-5"> <div class="card h-100"> |