From 81c1fc0c14253457c3c4fc24735e787ace1db70b Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Tue, 30 May 2023 07:18:47 +0300 Subject: Add index razor page --- Controllers/HomeController.cs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Controllers/HomeController.cs (limited to 'Controllers/HomeController.cs') diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs deleted file mode 100644 index 028322c..0000000 --- a/Controllers/HomeController.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; -using MyDarling.Models; - -namespace MyDarling.Controllers -{ - public class HomeController : Controller - { - private DataContext context; - public HomeController(DataContext context) - { - this.context = context; - } - public IActionResult Index() - { - return View(context.UnderwearBundles.Include(b => b.Figures)); - } - } -} \ No newline at end of file -- cgit v1.2.3