예제 #1
0
        public CollectionInfoModel UpdateCollection(CollectionContentModel content, string uid)
        {
            var serializedContend = JsonConvert.SerializeObject(content);

            return(Put <CollectionInfoModel>(Constants.baseUri + "/collections" + $"/{uid}", serializedContend));
        }
예제 #2
0
        public CollectionInfoModel CreateCollection(CollectionContentModel content)
        {
            var serializedContend = JsonConvert.SerializeObject(content);

            return(Post <CollectionInfoModel>(Constants.baseUri + "/collections", serializedContend));
        }