You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
590 B
25 lines
590 B
using Microsoft.AspNet.Mvc;
|
|
|
|
namespace Mvc.Server.Controllers {
|
|
public class HomeController : Controller {
|
|
public IActionResult Index() {
|
|
return View();
|
|
}
|
|
|
|
public IActionResult About() {
|
|
ViewData["Message"] = "Your application description page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Contact() {
|
|
ViewData["Message"] = "Your contact page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Error() {
|
|
return View("~/Views/Shared/Error.cshtml");
|
|
}
|
|
}
|
|
}
|
|
|