Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc.Routing;
using Nop.Web.Infrastructure;
namespace Nop.Plugin.Widgets.GoogleAnalytics.Infrastructure;
///
/// Represents plugin route provider
///
public class RouteProvider : BaseRouteProvider, IRouteProvider
{
///
/// Register routes
///
/// Route builder
public void RegisterRoutes(IEndpointRouteBuilder endpointRouteBuilder)
{
endpointRouteBuilder.MapControllerRoute(name: GoogleAnalyticsDefaults.ConfigurationRouteName,
pattern: "Admin/WidgetsGoogleAnalytics/Configure",
defaults: new { controller = "WidgetsGoogleAnalytics", action = "Configure", area = AreaNames.ADMIN });
}
///
/// Gets a priority of route provider
///
public int Priority => 0;
}