예제 #1
0
        protected string BuildLinkWithParam(string path, UriParameter param)
        {
            var parsed = LinkBuilder.BuildPath(path, param);

            return(LinkBuilder.BuildLink(parsed));
        }
예제 #2
0
 protected string GetApiRequestUri(string path)
 {
     return(new UriBuilder($"{RequestRouteConstants.ApiPath.Trim('/', '\\')}/{LinkBuilder.NormalizePath(path)}").ToString());
 }