Files
Umbraco-CMS/src/Umbraco.Web/Mvc/IRenderMvcController.cs

20 lines
576 B
C#
Raw Normal View History

2018-12-07 13:24:25 +01:00
using System.Web.Mvc;
using Umbraco.Core.Composing;
2018-06-29 19:52:40 +02:00
using Umbraco.Web.Models;
namespace Umbraco.Web.Mvc
{
/// <summary>
/// The interface that must be implemented for a controller to be designated to execute for route hijacking
/// </summary>
2018-12-07 13:24:25 +01:00
public interface IRenderMvcController : IRenderController, IDiscoverable
2018-06-29 19:52:40 +02:00
{
/// <summary>
/// The default action to render the front-end view
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
ActionResult Index(ContentModel model);
}
}