예제 #1
0
        private LinkedCollectionWrapperDto <KeyInfoDto> CreateLink(LinkedCollectionWrapperDto <KeyInfoDto> keysWrapper)
        {
            _hypermediaBuilder.CreateCollectionLink(keysWrapper, "GetKeysByUser", "self", HypermediaVerbs.Get);

            return(keysWrapper);
        }
예제 #2
0
        private LinkedCollectionWrapperDto <UserInfoDto> CreateLink(LinkedCollectionWrapperDto <UserInfoDto> usersWrapper)
        {
            _hypermediaBuilder.CreateCollectionLink(usersWrapper, "GetAllUsers", "self", HypermediaVerbs.Get);

            return(usersWrapper);
        }