JXMovies/Core/JXCMS.Core/Extensions/UrlExtensions.cs

10 lines
246 B
C#
Raw Permalink Normal View History

2020-02-09 19:10:05 +08:00
namespace Microsoft.AspNetCore.Mvc
{
public static class UrlExtensions
{
public static string ContentAdmin(this IUrlHelper url, string path)
{
return url.Content("~/Admin/Content/" + path);
}
}
}