summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Controllers')
-rw-r--r--Project-Unite/Controllers/GroupsController.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/Project-Unite/Controllers/GroupsController.cs b/Project-Unite/Controllers/GroupsController.cs
new file mode 100644
index 0000000..96aa401
--- /dev/null
+++ b/Project-Unite/Controllers/GroupsController.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.Mvc;
+using Project_Unite.Models;
+
+namespace Project_Unite.Controllers
+{
+ public class GroupsController : Controller
+ {
+ // GET: Groups
+ public ActionResult Index()
+ {
+ var db = new ApplicationDbContext();
+ return View(db.Groups);
+ }
+ }
+} \ No newline at end of file