Hi, I'm facing this problem:

I want that a new method from a controller that we have in a new project added to the solution, to be called from a view.

More specifically, I want to override the original catallog controler, to mantein clean the main solution.

This is the structure of the new project.



I'm using DependencyRegistrar this way, but it keeps going to the main controller.


public class DependencyRegistrar : IDependencyRegistrar
    {
        public void Register(ContainerBuilder builder, ITypeFinder typeFinder, NopConfig config)
        {
            builder.RegisterType<xxxxxCatalogController>().As<CatalogController>();
            builder.RegisterType<xxxxxService>().As<IxxxxxService>();

        }

        public int Order
        {
            get { return 10; }
        }


    }


Thanks a lot.