My base controller method is not executing. Below is my base controller.
public abstract class ReportServiceBaseController : Controller { protected ReportServiceBaseController(); [HttpPost] public JsonResult LoadDocumentInfo(LoadDocumentInfoRequest request); [HttpPost] public JsonResult LoadDocumentMapInfo(LoadDocumentMapInfoRequest request); }
Below is my derived controller:
public class ReportController : ReportServiceBaseController { protected override PerpetuumSoft.Reporting.WebViewer.Server.ReportServiceBase CreateReportService() { return new ServiceClass(); } [HttpPost] public JsonResult LoadDocumentInfo(LoadDocumentInfoRequest request) { return base.LoadDocumentInfo(request); } }
If I remove the LoadDocumentInfo method from the derived class, it will not receive the call. It gets called when I add a name method in a derived class
Please, help.
source share