Example #1
0
        protected string BuildLinkWithIdParam(string path, Guid id)
        {
            var parsed = LinkBuilder.BuildPath(path, new UriParameter {
                Name = "Id", Value = id
            });

            return(LinkBuilder.BuildLink(parsed));
        }
Example #2
0
        protected string BuildLinkWithCodeParam(string path, int code)
        {
            var parsed = LinkBuilder.BuildPath(path, new UriParameter {
                Name = "Code", Value = code
            });

            return(LinkBuilder.BuildLink(parsed));
        }
Example #3
0
        protected string BuildLinkWithParam(string path, UriParameter param)
        {
            var parsed = LinkBuilder.BuildPath(path, param);

            return(LinkBuilder.BuildLink(parsed));
        }