Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Need Guidance on Controller #11653


User avatar
0
maharatha created

We currently are working on the latest version of AspnetZero Angular and .Net Core. We are trying to use GCPDFViewer and this is where we are stuck : https://www.grapecity.com/documents-api-pdf/docs/online/configure-pdf-editor.html Look at the Step 10 and you will find the code :

We are trying to create the controller however we also want to inheirt the Abp Controller. As c# doesn't allow multiple inheritance, I am trying to figure out a reasonable solution on how can i achieve this.

Any guidance is appreciated


 using GrapeCity.Documents.Pdf.ViewerSupportApi.Controllers;
 
namespace WebApplication1_WebForms.Controllers
{
    public class SupportApiController : GcPdfViewerController
    {
 
    }}     ```                                                                                                                                                    

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can try creating a new base controller GcPdfViewerBaseController: GcPdfViewerController and add methods from AbpController to your new base controller.