diff options
Diffstat (limited to 'Controllers')
-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 |