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 diff --git a/Views/Bundle/Show.cshtml b/Views/Bundle/Show.cshtml deleted file mode 100644 index e3a49f1..0000000 --- a/Views/Bundle/Show.cshtml +++ /dev/null @@ -1,43 +0,0 @@ -@model MyDarling.Models.UnderwearBundle; - - - - - - - - - - - - - - - \ No newline at end of file