public CollectionInfoModel UpdateCollection(CollectionContentModel content, string uid) { var serializedContend = JsonConvert.SerializeObject(content); return(Put <CollectionInfoModel>(Constants.baseUri + "/collections" + $"/{uid}", serializedContend)); }
public CollectionInfoModel CreateCollection(CollectionContentModel content) { var serializedContend = JsonConvert.SerializeObject(content); return(Post <CollectionInfoModel>(Constants.baseUri + "/collections", serializedContend)); }