Skip to content

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.

Remove unused endpoints

supportee2a9dba8def
diff --git a/src/Web/Grand.Web/Endpoints/EndpointProvider.cs b/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
index 150002151..5fb578129 100644
--- a/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
+++ b/src/Web/Grand.Web/Endpoints/EndpointProvider.cs
@@ -191,11 +191,6 @@ namespace Grand.Web.Endpoints
}
private void RegisterVendorRoute(IEndpointRouteBuilder endpointRouteBuilder, string pattern)
{
- //vendor info
- endpointRouteBuilder.MapControllerRoute("CustomerVendorInfo",
- pattern + "vendorinfo",
- new { controller = "Vendor", action = "Info" });
-
//apply for vendor account
endpointRouteBuilder.MapControllerRoute("ApplyVendorAccount",
pattern + "vendorapply",
@@ -206,11 +201,6 @@ namespace Grand.Web.Endpoints
pattern + "vendorcontact/{vendorId}",
new { controller = "Vendor", action = "ContactVendor" });
- //vendor remove picture
- endpointRouteBuilder.MapControllerRoute("CustomerVendorRemovePicture",
- pattern + "vendorremovepicture",
- new { controller = "Vendor", action = "RemovePicture" });
-
}
private void RegisterCatalogRoute(IEndpointRouteBuilder endpointRouteBuilder, string pattern)