public static string ScriptSrc(this UrlHelper helper, string scriptFileName)
 {
   return helper.AssetPath(AssetType.Js, scriptFileName);
 }
 public static string StyleHref(this UrlHelper helper, string styleFileName)
 {
   return helper.AssetPath(AssetType.Css, styleFileName);
 }
 /// <summary>
 /// Render a script tag to include the asset specified as javascript.
 /// </summary>
 /// <param name="helper"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public static HtmlString Js(this IHtmlHelper helper, string name)
 {
     return new HtmlString($"<script src=\"{helper.AssetPath(name)}\"></script>");
 }
 public static string ImageSrc(this UrlHelper helper, string imageFileName)
 {
   return helper.AssetPath(AssetType.Img, imageFileName);
 }
 /// <summary>
 /// Render a link tag to include the asset specified as a stylesheet.
 /// </summary>
 /// <param name="helper"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public static HtmlString Css(this IHtmlHelper helper, string name)
 {
     return new HtmlString($"<link rel=\"stylesheet\" href=\"{helper.AssetPath(name)}\">");
 }