summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers/DownloadController.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-26 11:09:28 -0400
committerMichael <[email protected]>2017-03-26 11:09:28 -0400
commit70f527e9676ea0a15c50a8f255894d3085fac272 (patch)
tree20340fee2d8be68f84c5165046913c48c34829a8 /Project-Unite/Controllers/DownloadController.cs
parent416b9241755b3b1a6f1ba6fe4fb8b5f4b7ae360e (diff)
downloadproject-unite-70f527e9676ea0a15c50a8f255894d3085fac272.tar.gz
project-unite-70f527e9676ea0a15c50a8f255894d3085fac272.tar.bz2
project-unite-70f527e9676ea0a15c50a8f255894d3085fac272.zip
Add downloads index
Diffstat (limited to 'Project-Unite/Controllers/DownloadController.cs')
-rw-r--r--Project-Unite/Controllers/DownloadController.cs19
1 files changed, 19 insertions, 0 deletions
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