public TableSortBuilder <TRequest, TEntity, TControl> AsTable <TControl>()
            where TControl : class
        {
            var builder = new TableSortBuilder <TRequest, TEntity, TControl>();

            _builder = builder;

            return(builder);
        }
        public TableSortBuilder <TRequest, TEntity, TControl> AsTable <TControl>(
            string controlProperty, string directionProperty)
            where TControl : class
        {
            var builder = new TableSortBuilder <TRequest, TEntity, TControl>();

            builder.WithControl(controlProperty, directionProperty);

            _builder = builder;

            return(builder);
        }
        public TableSortBuilder <TRequest, TEntity, TControl> AsTable <TControl>(
            Func <TRequest, TControl> getControlValue,
            SortDirection direction = SortDirection.Default)
            where TControl : class
        {
            var builder = new TableSortBuilder <TRequest, TEntity, TControl>();

            builder.WithControl(getControlValue, direction);

            _builder = builder;

            return(builder);
        }