diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-16 07:23:48 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-16 07:23:48 +0300 |
commit | af72b18ba097310f55152ee0f1654fe4df6dea89 (patch) | |
tree | 462107ea8e4e1b78c1b9e18767c10f4e66f240d4 /Views/Home/_Projects.cshtml | |
parent | 3e8118838b43865b9707e2c52738835fda04d48a (diff) |
MyDarlingRepository DI
Diffstat (limited to 'Views/Home/_Projects.cshtml')
-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"> |