1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-14 09:08:32 -05:00

migrated to ASP.Net Core

This commit is contained in:
RaidMax
2018-02-21 19:29:23 -06:00
parent 2e0b5f2d71
commit 761ab8a114
4407 changed files with 311698 additions and 124726 deletions

View File

@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Webfront.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "IW4MAdmin Home";
return View();
}
[Route("server")]
public ActionResult Server()
{
var serverInfo = new SharedLibrary.Dtos.ServerInfo()
{
Name ="test server"
};
return View("_Server", serverInfo);
}
}
}