summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers/DeveloperController.cs
blob: b380acbb505f9119fae943bc319bf2e90648b28d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Project_Unite.Models;

namespace Project_Unite.Controllers
{
    [Authorize]
    public class DeveloperController : Controller
    {
        // GET: Developer
        public ActionResult Index()
        {
            ViewBag.Developer = true;
            return View();
        }

        public ActionResult Releases()
        {
            var db = new ApplicationDbContext();
            return View(db.Downloads);
        }
    }
}