My base controller method is not getting executed. 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 LoadDocumentInfo method from derived class then it not getting call. It is getting call when I add same name method in derived class
Please help.