private void SetItemFilterAndNavigateNext(CommandButtonDescriptor button)
        {
            using (IScopedFlowManagerService flowManagerService = App.ServiceProvider.GetRequiredService <IScopedFlowManagerService>())
            {
                flowManagerService.CopyFlowItems();

                flowManagerService.SetFlowDataCacheItem
                (
                    typeof(FilterLambdaOperatorParameters).FullName,
                    this.getItemFilterBuilder.CreateFilter
                    (
                        this.FormSettings.ItemFilterGroup,
                        typeof(TModel),
                        this.entity
                    )
                );

                flowManagerService.Next
                (
                    new CommandButtonRequest
                {
                    NewSelection = button.ShortString
                }
                );
            }
        }
 protected Task NavigateNext(CommandButtonDescriptor button)
 {
     using (IScopedFlowManagerService flowManagerService = App.ServiceProvider.GetRequiredService <IScopedFlowManagerService>())
     {
         flowManagerService.CopyFlowItems();
         return(flowManagerService.Next
                (
                    new CommandButtonRequest
         {
             NewSelection = button.ShortString
         }
                ));
     }
 }