//using Modules.Library.Domain.Entities;
//using System.Linq.Expressions;

//namespace Modules.Library.Domain.Utils;

//internal static class VariantUtil
//{
//    private static Expression<Func<IVariantItem, ushort>> expr = (item) => item.Variant;
//    private static ushort Func(IVariantItem item) => item.Variant;

//    internal static void SetItemVariant(IEnumerable<IVariantItem> items, ushort lastOrder, ushort newOrder) =>
//        OrderBaseUtil<IVariantItem>.SetItemOrder(items, lastOrder, newOrder, expr, Func);
//}