summaryrefslogtreecommitdiff
path: root/Views/Home/_Projects.cshtml
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2023-02-20 21:53:21 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2023-02-20 21:53:21 +0300
commit3c83f9f4b01b5965e04739e5f8accf3235f8f699 (patch)
tree8ec80ceaf26f1343ecccab682e9041689f4f5701 /Views/Home/_Projects.cshtml
parentc740669676b30e5eae3cbadbef2810671b9e1c37 (diff)
Add base crud actions for bundles
Diffstat (limited to 'Views/Home/_Projects.cshtml')
-rw-r--r--Views/Home/_Projects.cshtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Views/Home/_Projects.cshtml b/Views/Home/_Projects.cshtml
index 314a9f0..0603c06 100644
--- a/Views/Home/_Projects.cshtml
+++ b/Views/Home/_Projects.cshtml
@@ -1,10 +1,10 @@
-@model MyDarling.Models.IRepository;
+@model IQueryable<MyDarling.Models.UnderwearBundle>;
@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.Bundles.Where(b => b.Price != 0))
+ @foreach (var bundle in @Model.Where(b => b.Price != 0))
{
<div class="col mb-5">
<div class="card h-100">