Try our conversational search powered by Generative AI!
AI OnAI Off
Change this
public class EventListingPageController : GenericListingPageController
to =>
public class EventListingPageController : ContentPageControllerBase<EventListingPage>
?
Hi! I have a listing page called GenericListingPage. I also have another listing page called EventListingPage, which inherits from GenericListingPage.
Also, the controller for EventListingPage inherits from the GenericListingPage's controller.
If I go to any of these pages I get an ambiguous call on the index method. I understand why, but not sure how to solve.
The first code snippet shows the top of the GenericListingPageController, the second shows the EventListingPageController:
Does anyone know any solution for this scenario? Thanks in advance!