The new UI-project is developing startpage has got right texts and list of Tournaments is showing up
This commit is contained in:
@ -3,6 +3,8 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
using TrackerLibrary;
|
||||
using TrackerLibrary.Models;
|
||||
|
||||
namespace MVCUI.Controllers
|
||||
{
|
||||
@ -10,21 +12,11 @@ namespace MVCUI.Controllers
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
return View();
|
||||
List<TournamentModel> tournaments = GlobalConfig.Connection.GetTournament_All();
|
||||
|
||||
return View(tournaments);
|
||||
}
|
||||
|
||||
public ActionResult About()
|
||||
{
|
||||
ViewBag.Message = "Your application description page.";
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult Contact()
|
||||
{
|
||||
ViewBag.Message = "Your contact page.";
|
||||
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user