From d816e73fed2d8f0b341854c2ada7bda6c7c86cdf Mon Sep 17 00:00:00 2001 From: MahanCh Date: Tue, 22 Apr 2025 19:13:15 +0330 Subject: [PATCH] delete useless workshopId --- ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml | 1 - ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml | 1 - 2 files changed, 2 deletions(-) diff --git a/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml b/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml index 647d9b6b..48210f47 100644 --- a/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml +++ b/ServiceHost/Areas/Client/Pages/Shared/_ClientLayout.cshtml @@ -10,7 +10,6 @@ @{ string clientVersion = _0_Framework.Application.Version.StyleVersion; var currentAccount = AuthHelper.CurrentAccountInfo(); - long workshopId = currentAccount.WorkshopList.First(x => x.Slug == currentAccount.WorkshopSlug).Id; int countWorkFlow = 0;/* await WorkFlowApplication.GetCountAllWorkFlows(workshopId); */ var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()) { { "countWorkFlow", countWorkFlow } }; } diff --git a/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml b/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml index b1c2007f..bb014ee4 100644 --- a/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml +++ b/ServiceHost/Areas/Client/Pages/Shared/_Menu.cshtml @@ -15,7 +15,6 @@ @{ var currentAccount = AuthHelper.CurrentAccountInfo(); var statementInfo = ContractingPartyApp.GetContractingpartyIdByAccountId(currentAccount.Id); - long workshopId = currentAccount.WorkshopList.First(x => x.Slug == currentAccount.WorkshopSlug).Id; }