The new UI-project is developing startpage has got right texts and list of Tournaments is showing up

This commit is contained in:
2020-05-03 22:52:11 +02:00
parent ad209b7b5b
commit 9957004b80
9 changed files with 71 additions and 69 deletions

View File

@ -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();
}
}
}