main
cs 30 lines 594 Bytes
Raw
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Web;
5 using System.Web.Mvc;
6
7 namespace CsprojWebApplicationNetFx.Controllers
8 {
9 public class HomeController : Controller
10 {
11 public ActionResult Index()
12 {
13 return View();
14 }
15
16 public ActionResult About()
17 {
18 ViewBag.Message = "Your application description page.";
19
20 return View();
21 }
22
23 public ActionResult Contact()
24 {
25 ViewBag.Message = "Your contact page.";
26
27 return View();
28 }
29 }
30 }