/// <summary> /// Saves user data for an item /// </summary> /// <param name="user">The user.</param> /// <param name="item">The item.</param> /// <param name="data">The data.</param> public Task SaveUserDataForItem(User user, BaseItem item, UserItemData data) { item.AddOrUpdateUserData(user, data); return(Kernel.UserDataRepository.SaveUserData(item, CancellationToken.None)); }