Hi Yidna, I added to NopStartup. But it shows the error:
The type 'Nop.Plugin.Widgets.WidgetName.Controllers.CustomShoppingCartController' cannot be used as type parameter 'TImplementation' in the generic type or method 'ServiceCollectionServiceExtensions.AddScoped<TService, TImplementation>(IServiceCollection)'. There is no implicit reference conversion from Nop.Plugin.Widgets.WidgetName.Controllers.CustomShoppingCartController' to 'Nop.Web.Controllers.ShoppingCartController'.
It is due by this line in the CustomShoppingCartController of my Widget [AuthorizeAdmin] [Area(AreaNames.Admin)] [AutoValidateAntiforgeryToken] So I removed it.