2021-06-22 12:00:18 +10:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace MvcMusicStore.Controllers
|
|
|
|
|
{
|
|
|
|
|
public class HomeController : Controller
|
|
|
|
|
{
|
2021-06-22 12:23:19 +10:00
|
|
|
|
public String Index()
|
2021-06-22 12:00:18 +10:00
|
|
|
|
{
|
2021-06-22 12:23:19 +10:00
|
|
|
|
return "I like cake!";
|
2021-06-22 12:00:18 +10:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ActionResult About()
|
|
|
|
|
{
|
|
|
|
|
ViewBag.Message = "Your application description page.";
|
|
|
|
|
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ActionResult Contact()
|
|
|
|
|
{
|
|
|
|
|
ViewBag.Message = "Your contact page.";
|
|
|
|
|
|
|
|
|
|
return View();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|