using AyCode.Core.Interfaces;
using FruitBank.Common.Entities;
using FruitBank.Common.SignalRs;
using FruitBankHybrid.Shared.Pages;
using Microsoft.AspNetCore.Components;

namespace FruitBankHybrid.Shared.Components.Grids.OrderItems;

//public class GridOrderItem : FruitBankGrid<OrderItem>
//{
//    public GridOrderItem() : base()
//    {
//        GetAllMessageTag = SignalRTags.GetAllTransferDestinations;
//        AddMessageTag = SignalRTags.CreateTransferDestination;
//        UpdateMessageTag = SignalRTags.UpdateTransferDestination;
//        RemoveMessageTag = SignalRTags.RemoveTransferDestination;
//    }

//    protected override Task SetParametersAsyncCore(ParameterView parameters)
//    {
//        if (!IsFirstInitializeParameters)
//        {
//            //ShowFilterRow = true;
//            //ShowGroupPanel = true;
//            //AllowSort = false;

//            //etc...
//        }

//        return base.SetParametersAsyncCore(parameters);
//    }
//}