summaryrefslogtreecommitdiff
path: root/Controllers/HomeController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Controllers/HomeController.cs')
-rw-r--r--Controllers/HomeController.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs
index 228a9c3..028322c 100644
--- a/Controllers/HomeController.cs
+++ b/Controllers/HomeController.cs
@@ -6,14 +6,14 @@ namespace MyDarling.Controllers
{
public class HomeController : Controller
{
- private IRepository repository;
- public HomeController(IRepository repository)
+ private DataContext context;
+ public HomeController(DataContext context)
{
- this.repository = repository;
+ this.context = context;
}
public IActionResult Index()
{
- return View(repository);
+ return View(context.UnderwearBundles.Include(b => b.Figures));
}
}
} \ No newline at end of file