blob: 8439008cce9767f612b4468d03e0833dab511e8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ContestsController : Controller
{
// GET: Contests
public ActionResult Index()
{
var model = new ApplicationDbContext().Contests.ToArray();
return View(model);
}
}
}
|