source:
branches/WebApplication/MVC2/plugins/HLWebHelloWorldPlugin/Controllers/HomeController.cs
@
4605
Last change on this file since 4605 was 4605, checked in by dkahn, 14 years ago | |
---|---|
File size: 463 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Linq; |
4 | using System.Web; |
5 | using System.Web.Mvc; |
6 | |
7 | namespace HLWebHelloWorldPlugin.Controllers { |
8 | [HandleError] |
9 | public class HomeController : Controller { |
10 | public ActionResult Index() { |
11 | ViewData["Message"] = "Welcome to ASP.NET MVC!"; |
12 | |
13 | return View(); |
14 | } |
15 | |
16 | public ActionResult About() { |
17 | return View(); |
18 | } |
19 | } |
20 | } |
Note: See TracBrowser
for help on using the repository browser.