30 lines
584 B
C#
30 lines
584 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace MvcMusicStore.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
public String Index()
|
|
{
|
|
return "I like cake!";
|
|
}
|
|
|
|
public ActionResult About()
|
|
{
|
|
ViewBag.Message = "Your application description page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
public ActionResult Contact()
|
|
{
|
|
ViewBag.Message = "Your contact page.";
|
|
|
|
return View();
|
|
}
|
|
}
|
|
} |