summaryrefslogtreecommitdiff
path: root/Controllers/BundlesController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Controllers/BundlesController.cs')
-rw-r--r--Controllers/BundlesController.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/Controllers/BundlesController.cs b/Controllers/BundlesController.cs
index 1f5c212..aeefebb 100644
--- a/Controllers/BundlesController.cs
+++ b/Controllers/BundlesController.cs
@@ -32,5 +32,16 @@ namespace MyDarling.Controllers
}
return RedirectToAction("Index");
}
+
+ public ActionResult Add()
+ {
+ return View();
+ }
+ [HttpPost]
+ public ActionResult Add(UnderwearBundle b)
+ {
+ repository.Add(b);
+ return RedirectToAction("Index");
+ }
}
} \ No newline at end of file