public static string PackageUrl(string pkgType, string pkgId)
{
switch (pkgType)
{
case "Theme":
return string.Format("{0}/List/Themes/{1}", Constants.GalleryAppUrl, pkgId);
case "Extension":
return string.Format("{0}/List/Extensions/{1}", Constants.GalleryAppUrl, pkgId);
case "Widget":
return string.Format("{0}/List/Widgets/{1}", Constants.GalleryAppUrl, pkgId);
}
return string.Empty;
}