mirror of
https://github.com/rudollee/LearningMVC.git
synced 2025-06-07 07:56:14 +00:00
18 lines
397 B
C#
18 lines
397 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Mvc;
|
|
|
|
namespace UrlsAndRoutes.AdditionalControllers
|
|
{
|
|
public class HomeController : Controller
|
|
{
|
|
public ActionResult Index()
|
|
{
|
|
ViewBag.Controller = "Addtional COntrollers - Home";
|
|
ViewBag.Action = "Index";
|
|
return View("ActionName");
|
|
}
|
|
}
|
|
} |