ildar-shaymukhametov_grandnode-refactorings/Grand.Core/Routing/IRoutePublisher.cs
using Microsoft.AspNetCore.Routing;

namespace Grand.Core.Routing
{
    /// <summary>
    /// Represents route publisher
    /// </summary>
    public interface IRoutePublisher
    {
        /// <summary>
        /// Register routes
        /// </summary>
        /// <param name="routeBuilder">End point Route builder</param>
        void RegisterRoutes(IEndpointRouteBuilder routeBuilder);
    }
}
