mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
3.0 KiB
94 lines
3.0 KiB
// This file is automatically generated by ABP framework to use MVC Controllers from CSharp
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Http.Client;
|
|
using Volo.Abp.Http.Client.ClientProxying;
|
|
using Volo.Abp.Http.Modeling;
|
|
using Volo.Docs.Admin.Projects;
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
namespace Volo.Docs.Admin;
|
|
|
|
[Dependency(ReplaceServices = true)]
|
|
[ExposeServices(typeof(IProjectAdminAppService), typeof(ProjectsAdminClientProxy))]
|
|
public partial class ProjectsAdminClientProxy : ClientProxyBase<IProjectAdminAppService>, IProjectAdminAppService
|
|
{
|
|
public virtual async Task<PagedResultDto<ProjectDto>> GetListAsync(PagedAndSortedResultRequestDto input)
|
|
{
|
|
return await RequestAsync<PagedResultDto<ProjectDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(PagedAndSortedResultRequestDto), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task<ProjectDto> GetAsync(Guid id)
|
|
{
|
|
return await RequestAsync<ProjectDto>(nameof(GetAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(Guid), id }
|
|
});
|
|
}
|
|
|
|
public virtual async Task<ProjectDto> CreateAsync(CreateProjectDto input)
|
|
{
|
|
return await RequestAsync<ProjectDto>(nameof(CreateAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(CreateProjectDto), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task<ProjectDto> UpdateAsync(Guid id, UpdateProjectDto input)
|
|
{
|
|
return await RequestAsync<ProjectDto>(nameof(UpdateAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(Guid), id },
|
|
{ typeof(UpdateProjectDto), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task DeleteAsync(Guid id)
|
|
{
|
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(Guid), id }
|
|
});
|
|
}
|
|
|
|
public virtual async Task ReindexAllAsync()
|
|
{
|
|
await RequestAsync(nameof(ReindexAllAsync));
|
|
}
|
|
|
|
public virtual async Task<List<ProjectWithoutDetailsDto>> GetListWithoutDetailsAsync()
|
|
{
|
|
return await RequestAsync<List<ProjectWithoutDetailsDto>>(nameof(GetListWithoutDetailsAsync));
|
|
}
|
|
|
|
public virtual async Task<PagedResultDto<ProjectPdfFileDto>> GetPdfFilesAsync(GetPdfFilesInput input)
|
|
{
|
|
return await RequestAsync<PagedResultDto<ProjectPdfFileDto>>(nameof(GetPdfFilesAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(GetPdfFilesInput), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task DeletePdfFileAsync(DeletePdfFileInput input)
|
|
{
|
|
await RequestAsync(nameof(DeletePdfFileAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(DeletePdfFileInput), input }
|
|
});
|
|
}
|
|
|
|
public virtual async Task ReindexAsync(ReindexInput input)
|
|
{
|
|
await RequestAsync(nameof(ReindexAsync), new ClientProxyRequestTypeValue
|
|
{
|
|
{ typeof(ReindexInput), input }
|
|
});
|
|
}
|
|
}
|
|
|