TylersNotes

From Prodigix Wiki
Jump to navigation Jump to search

How to override a controller:

  • Create new customer controller that inherits from the controller you want to override
  • In your new controller add any actions you wish to override. Making sure to add the "override" function modifier
  • In the plugins NopStartup add "services.AddScoped<ControllerToOverride, CustomController>();"