From 70f527e9676ea0a15c50a8f255894d3085fac272 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 26 Mar 2017 11:09:28 -0400 Subject: Add downloads index --- Project-Unite/Controllers/DownloadController.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Project-Unite/Controllers/DownloadController.cs (limited to 'Project-Unite/Controllers/DownloadController.cs') diff --git a/Project-Unite/Controllers/DownloadController.cs b/Project-Unite/Controllers/DownloadController.cs new file mode 100644 index 0000000..58e3c36 --- /dev/null +++ b/Project-Unite/Controllers/DownloadController.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 DownloadController : Controller + { + // GET: Download + public ActionResult Index() + { + var db = new ApplicationDbContext(); + return View(db.Downloads); + } + } +} \ No newline at end of file -- cgit v1.2.3