public async Task Execute(PipelineExecutionContext pipelineContext)
        {
            var serviceProvider = pipelineContext.ServiceProvider;
            var insurancePipelineContext = serviceProvider.GetRequiredService<PipelineExecutionContext>();
            var processApiContext = serviceProvider.GetRequiredService<ProcessApiContext>();

            if (insurancePipelineContext.WidgetName == "DiKaskoConstructorStep"
                && processApiContext.ViewModel is DiKaskoSegmentationStepCommandViewModel link2ViewModel)
            {
                var dealViewModels = link2ViewModel[nameof(Basket.Deals)] as List<DiKaskoSegmentationStepCommandViewModel_Deals>;

                var basket = insurancePipelineContext.GetBasket();
                var basketOldPrice = basket.Price;
                var kaskoDeal = basket.GetKaskoDeal();

                LogContext.PushProperty("ProcessKey", basket.Number);

                if (dealViewModels != null && dealViewModels.Count > 0)
                {
                    if (kaskoDeal.IsProlongation == false)
                    {
                        var selectedPacket = dealViewModels[0]["Conditions"] as Link2SelectedPacketViewModel;
                        var proposals = kaskoDeal.Proposals;
                        if (selectedPacket != null && !string.IsNullOrEmpty(selectedPacket["packetName"] as string))
                        {
                            var cache = serviceProvider.GetRequiredService<ICache>();
                            SaveClientSelectedOfferInCache(basket.Number, (string)selectedPacket["packetName"], cache);
                            var currentDate = kaskoDeal.DateActual ?? basket.DateActual ?? DT.Now;
                            var offerIds = proposals.Where(x => x.Offer_Id.HasValue).Select(x => x.Offer_Id).Distinct().ToArray();

                            var queryOffer = serviceProvider.GetRequiredService<IQueryOffer>();
                            var offers = queryOffer.GetOffers(offerIds, currentDate, basket.ExternalTagList?.UseDrafts).ToList();

                            var selectedOffer = offers.FirstOrDefault(x => x.OfferMappings.Any(om => om.PackageName == (string)selectedPacket["packetName"]));
                            var selectedProposal = proposals.FirstOrDefault(x => x.Offer.Id == selectedOffer?.Id);
                            if (selectedProposal != null)
                            {
                                proposals.ForEach(x => x.IsSelected = false);
                                selectedProposal.IsSelected = true;
                            }
                        }

                        TechcenterOptionHelper.ValidateTechcenterOptions(selectedPacket);
                        ValidateRequiredOptions(serviceProvider, insurancePipelineContext, selectedPacket);

                        var conditionsProcessor = serviceProvider.GetRequiredService<IKaskoDealConditionProcessor>();
                        await conditionsProcessor.ProcessSelectedConditionsAsync(selectedPacket);

                        var entitySettingsManager = serviceProvider.GetRequiredService<IEntitySettingsManager>();
                        if (CheckIsB2CPartnerHelper.CheckIsB2CPartner(entitySettingsManager, processApiContext.IntegrationLogin()))
                        {
                            await RecalculateAllConditions(serviceProvider, basket, conditionsProcessor);
                        }
                        else
                        {
                            await RecalculateAllConditionsDefault(serviceProvider, basket, conditionsProcessor);
                        }
                        
                        if (basket.IsLegal == false)
                        {
                            var owner = kaskoDeal.GetOwner();
                            owner.Subject?.LegalEntity = null;
                        }
                    }

                    SaveBasketWithUpdatedConditions(serviceProvider, basket); 
                }
            }

Почему не могу присвоить LegalEntity = null

Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0131	The left-hand side of an assignment must be a variable, property or indexer	iRIS.KaskoLink2	C:\Code\b-app-kasko\sources\App\src\Modules\iRIS.KaskoLink2\Code\Extensions\Link2\DiKaskoLink2CalculateConstructorExtension.cs	111	Active