protected Uri FindByIdUri(TQ query, Config config) { Uri serviceRoot = config.ServiceRoot; var entityUriPath = EntityUriPathRoot + "/" + query.Id + TypeSuffixJson; UriQueryParameters queryParams = GetDefaultQueryParams(config); return(UriEncoder.MakeUri(serviceRoot, entityUriPath, queryParams)); }
protected Uri FindEntitiesUri(TQ query, Config config) { Uri serviceRoot = config.ServiceRoot; String uriPath = GetUriPath(); UriQueryParameters queryParams = QueryParams(query, config); return(UriEncoder.MakeUri(serviceRoot, uriPath, queryParams)); }