Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Plugin Tax.CountryStateZip - change type of project to Microsoft.NET.Sdk.Razor
KrzysztofPajak50bfee4037c1
diff --git a/src/Plugins/Tax.CountryStateZip/Controllers/TaxCountryStateZipController.cs b/src/Plugins/Tax.CountryStateZip/Areas/Admin/Controllers/TaxCountryStateZipController.cssimilarity index 98%rename from src/Plugins/Tax.CountryStateZip/Controllers/TaxCountryStateZipController.csrename to src/Plugins/Tax.CountryStateZip/Areas/Admin/Controllers/TaxCountryStateZipController.csindex 61c001050..9d0a45869 100644--- a/src/Plugins/Tax.CountryStateZip/Controllers/TaxCountryStateZipController.cs+++ b/src/Plugins/Tax.CountryStateZip/Areas/Admin/Controllers/TaxCountryStateZipController.cs@@ -68,7 +68,7 @@ namespace Tax.CountryStateZip.Controllersmodel.AvailableStates.Add(new SelectListItem { Text = s.Name, Value = s.Id.ToString() });}- return View("~/Plugins/Tax.CountryStateZip/Views/TaxCountryStateZip/Configure.cshtml", model);+ return View(model);}[HttpPost]diff --git a/src/Plugins/Tax.CountryStateZip/Views/TaxCountryStateZip/Configure.cshtml b/src/Plugins/Tax.CountryStateZip/Areas/Admin/Views/TaxCountryStateZip/Configure.cshtmlsimilarity index 100%rename from src/Plugins/Tax.CountryStateZip/Views/TaxCountryStateZip/Configure.cshtmlrename to src/Plugins/Tax.CountryStateZip/Areas/Admin/Views/TaxCountryStateZip/Configure.cshtmldiff --git a/src/Plugins/Tax.CountryStateZip/Views/TaxCountryStateZip/_ViewImports.cshtml b/src/Plugins/Tax.CountryStateZip/Areas/Admin/Views/_ViewImports.cshtmlsimilarity index 100%rename from src/Plugins/Tax.CountryStateZip/Views/TaxCountryStateZip/_ViewImports.cshtmlrename to src/Plugins/Tax.CountryStateZip/Areas/Admin/Views/_ViewImports.cshtmldiff --git a/src/Plugins/Tax.CountryStateZip/Tax.CountryStateZip.csproj b/src/Plugins/Tax.CountryStateZip/Tax.CountryStateZip.csprojindex 4dca90a3a..8afee6a45 100644--- a/src/Plugins/Tax.CountryStateZip/Tax.CountryStateZip.csproj+++ b/src/Plugins/Tax.CountryStateZip/Tax.CountryStateZip.csproj@@ -1,4 +1,4 @@-<Project Sdk="Microsoft.NET.Sdk">+<Project Sdk="Microsoft.NET.Sdk.Razor"><PropertyGroup><TargetFramework>net5.0</TargetFramework>@@ -7,6 +7,7 @@<Authors>UNIT-SOFT Sp. z o.o.</Authors><PackageProjectUrl>https://grandnode.com/</PackageProjectUrl><TieredCompilation>true</TieredCompilation>+ <AddRazorSupportForMvc>true</AddRazorSupportForMvc></PropertyGroup><PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">@@ -73,12 +74,6 @@<None Update="logo.jpg"><CopyToOutputDirectory>Always</CopyToOutputDirectory></None>- <None Update="Views\TaxCountryStateZip\Configure.cshtml">- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>- </None>- <None Update="Views\TaxCountryStateZip\_ViewImports.cshtml">- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>- </None></ItemGroup></Project>\ No newline at end of file