25 lines
641 B
C#
25 lines
641 B
C#
using Microsoft.AspNetCore.Routing;
|
|
using Nop.Web.Framework.Mvc.Routing;
|
|
|
|
namespace Nop.Plugin.Misc.MyTestPlugin1.Infrastructure
|
|
{
|
|
/// <summary>
|
|
/// Represents plugin route provider
|
|
/// </summary>
|
|
public class RouteProvider : IRouteProvider
|
|
{
|
|
/// <summary>
|
|
/// Register routes
|
|
/// </summary>
|
|
/// <param name="endpointRouteBuilder">Route builder</param>
|
|
public void RegisterRoutes(IEndpointRouteBuilder endpointRouteBuilder)
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets a priority of route provider
|
|
/// </summary>
|
|
public int Priority => 0;
|
|
}
|
|
} |