diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-05-30 07:18:47 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-05-30 07:30:44 +0300 |
commit | 81c1fc0c14253457c3c4fc24735e787ace1db70b (patch) | |
tree | fed58558300250876657fe6f9b0880af6d11f9f0 /Controllers/HomeController.cs | |
parent | 55b30fc75acb554770dc171b5ea54ad821b81d00 (diff) |
Add index razor page
Diffstat (limited to 'Controllers/HomeController.cs')
-rw-r--r-- | Controllers/HomeController.cs | 19 |
1 files changed, 0 insertions, 19 deletions
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 |