public static string GetUrl(string pluginId, string name = "", string id = "") { var apiUrl = ApiManager.GetOuterApiUrl(Route); apiUrl = apiUrl.Replace("{pluginId}", pluginId); if (!string.IsNullOrEmpty(name)) { apiUrl = PageUtils.Combine(apiUrl, name); if (!string.IsNullOrEmpty(id)) { apiUrl = PageUtils.Combine(apiUrl, id); } } return(apiUrl); }