Class DocumentPdfAdminController
Implements
Inherited Members
Namespace: Volo.Docs.Admin
Assembly: Volo.Docs.Admin.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpDocsAdmin")]
[Area("docs-admin")]
[Route("api/docs/admin/documents/pdf")]
public class DocumentPdfAdminController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IDocumentPdfAdminAppService, IDocumentPdfAppService, IApplicationService, IRemoteService
Constructors
DocumentPdfAdminController(IDocumentPdfAdminAppService)
Declaration
public DocumentPdfAdminController(IDocumentPdfAdminAppService documentPdfAdminAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocumentPdfAdminAppService | documentPdfAdminAppService |
Methods
DeletePdfFileAsync(DeletePdfFileInput)
Declaration
[HttpDelete]
[Route("delete-file")]
public Task DeletePdfFileAsync(DeletePdfFileInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePdfFileInput | input |
Returns
| Type | Description |
|---|---|
| Task |
DownloadPdfAsync(DocumentPdfGeneratorInput)
Declaration
[HttpGet]
[Route("download")]
public Task<IRemoteStreamContent> DownloadPdfAsync(DocumentPdfGeneratorInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPdfGeneratorInput | input |
Returns
| Type | Description |
|---|---|
| Task<IRemoteStreamContent> |
ExistsAsync(DocumentPdfGeneratorInput)
Declaration
[HttpGet]
[Route("exists")]
public Task<bool> ExistsAsync(DocumentPdfGeneratorInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPdfGeneratorInput | input |
Returns
| Type | Description |
|---|---|
| Task<bool> |
GeneratePdfAsync(DocumentPdfGeneratorInput)
Declaration
[HttpGet]
[Route("generate")]
public Task GeneratePdfAsync(DocumentPdfGeneratorInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentPdfGeneratorInput | input |
Returns
| Type | Description |
|---|---|
| Task |
GetPdfFilesAsync(GetPdfFilesInput)
Declaration
[HttpGet]
[Route("files")]
public Task<PagedResultDto<ProjectPdfFileDto>> GetPdfFilesAsync(GetPdfFilesInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPdfFilesInput | input |
Returns
| Type | Description |
|---|---|
| Task<PagedResultDto<ProjectPdfFileDto>> |