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:
30
Webfront/Controllers/HomeController.cs
Normal file
30
Webfront/Controllers/HomeController.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user