Пример #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());
 }