/// <summary> /// Updates the tag ids associated with the passed item id in the database /// </summary> /// <param name="itemID">The item id to update the tags for</param> /// <param name="tagIds">The tag ids to associate with the item id</param> /// <returns>If the tags were updated successfully</returns> public static bool UpdateItemTags(int itemID, List <int> tagIds) { bool result = false; DBItem.DeleteItemTags(itemID); if (DBItem.InsertItemTags(itemID, tagIds)) { result = true; } return(result); }