Esempio n. 1
0
        protected string BuildLinkWithCodeParam(string path, int code)
        {
            var parsed = LinkBuilder.BuildPath(path, new UriParameter {
                Name = "Code", Value = code
            });

            return(LinkBuilder.BuildLink(parsed));
        }
Esempio n. 2
0
        protected string BuildLinkWithIdParam(string path, Guid id)
        {
            var parsed = LinkBuilder.BuildPath(path, new UriParameter {
                Name = "Id", Value = id
            });

            return(LinkBuilder.BuildLink(parsed));
        }
Esempio n. 3
0
        protected string GetApiRequestUriWithIdParam(string path, Guid id)
        {
            var parsed = LinkBuilder.BuildPath(path, new UriParameter {
                Name = "Id", Value = id
            });

            return(GetApiRequestUri(parsed));
        }
Esempio n. 4
0
        protected string BuildLinkWithParam(string path, UriParameter param)
        {
            var parsed = LinkBuilder.BuildPath(path, param);

            return(LinkBuilder.BuildLink(parsed));
        }