修改一些BUG
This commit is contained in:
24
MvcApplication1/Controllers/HomeController.cs
Normal file
24
MvcApplication1/Controllers/HomeController.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Mvc;
|
||||
|
||||
namespace MvcApplication1.Controllers
|
||||
{
|
||||
[HandleError]
|
||||
public class HomeController : Controller
|
||||
{
|
||||
public ActionResult Index()
|
||||
{
|
||||
ViewData["Message"] = "欢迎使用 ASP.NET MVC!";
|
||||
|
||||
return View();
|
||||
}
|
||||
|
||||
public ActionResult About()
|
||||
{
|
||||
return View();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user