public void AffixTags(string collection, string id, string vid, IEnumerable <Tag> tags) { Uri key = BuildKey(collection, id, vid); if (tags == null) { throw new SparkException("No tags specified on the request"); } BundleEntry entry = store.Get(key); if (entry == null) { throw new SparkException(HttpStatusCode.NotFound, "Could not set tags. The resource was not found."); } entry.AffixTags(tags); store.Replace(entry); }