32 lines
623 B
C#
32 lines
623 B
C#
using System.Web.Mvc;
|
|
using MvcMusicStore.Data;
|
|
|
|
namespace MvcMusicStore.Controllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public ActionResult About()
|
|
{
|
|
ViewBag.Message = "Your application description page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
public ActionResult Contact()
|
|
{
|
|
ViewBag.Message = "Your contact page.";
|
|
|
|
return View();
|
|
}
|
|
|
|
//public ActionResult Search(string q)
|
|
//{
|
|
// var albums =
|
|
//}
|
|
}
|
|
} |