private string BuildUrl() { var url = $"api/courses/standards?filter=Active"; if (RouteIds != null && RouteIds.Any()) { url += "&routeIds=" + string.Join("&routeIds=", RouteIds); } if (Levels != null && Levels.Any()) { url += "&levels=" + string.Join("&levels=", Levels); } return(url); }
private string BuildUrl() { var url = $"api/courses/standards?keyword={Keyword}&orderby={OrderBy}&filter=ActiveAvailable"; if (RouteIds != null && RouteIds.Any()) { url += "&routeIds=" + string.Join("&routeIds=", RouteIds); } if (Levels != null && Levels.Any()) { url += "&levels=" + string.Join("&levels=", Levels); } return(url); }