diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-10 08:08:07 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2023-02-10 08:24:08 +0300 |
commit | abe2ba567a141885cd3c9bb64aa915719788719d (patch) | |
tree | 5a91862df07911a531e49d863c185dbe730766a3 /Controllers/BundleController.cs | |
parent | 3f6a044a383efebc9e29234db34075c93ab6f76c (diff) |
Delete bundle controller
Diffstat (limited to 'Controllers/BundleController.cs')
-rw-r--r-- | Controllers/BundleController.cs | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Controllers/BundleController.cs b/Controllers/BundleController.cs deleted file mode 100644 index d8d2512..0000000 --- a/Controllers/BundleController.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.EntityFrameworkCore; -using MyDarling.Models; - -namespace MyDarling.Controllers -{ - public class BundleController : Controller - { - private DataContext context; - public BundleController(DataContext context) - { - this.context = context; - } - public IActionResult Show(int id) - { - return View(context.UnderwearBundles.Include(x => x.Figures).Where(x => x.Id == id).FirstOrDefault()); - } - } -}
\ No newline at end of file |