From 0ae47a126b1fb37ecbc80ecddd34a892fb6fd3b2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 7 May 2017 09:19:55 -0400 Subject: groups (formerly legions) index --- Project-Unite/Controllers/GroupsController.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Project-Unite/Controllers/GroupsController.cs (limited to 'Project-Unite/Controllers/GroupsController.cs') 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 -- cgit v1.2.3