// This file is automatically generated by ABP framework to use MVC Controllers from CSharp using System; using System.Threading.Tasks; using Volo.Abp.Application.Dtos; using Volo.Abp.Http.Client; using Volo.Abp.Http.Modeling; using Volo.Abp.DependencyInjection; using Volo.Abp.Http.Client.ClientProxying; using Volo.CmsKit.Admin.Pages; // ReSharper disable once CheckNamespace namespace Volo.CmsKit.Admin.Pages.ClientProxies { [Dependency(ReplaceServices = true)] [ExposeServices(typeof(IPageAdminAppService), typeof(PageAdminClientProxy))] public partial class PageAdminClientProxy : ClientProxyBase, IPageAdminAppService { public virtual async Task GetAsync(Guid id) { return await RequestAsync(nameof(GetAsync), new ClientProxyRequestTypeValue { { typeof(Guid), id } }); } public virtual async Task> GetListAsync(GetPagesInputDto input) { return await RequestAsync>(nameof(GetListAsync), new ClientProxyRequestTypeValue { { typeof(GetPagesInputDto), input } }); } public virtual async Task CreateAsync(CreatePageInputDto input) { return await RequestAsync(nameof(CreateAsync), new ClientProxyRequestTypeValue { { typeof(CreatePageInputDto), input } }); } public virtual async Task UpdateAsync(Guid id, UpdatePageInputDto input) { return await RequestAsync(nameof(UpdateAsync), new ClientProxyRequestTypeValue { { typeof(Guid), id }, { typeof(UpdatePageInputDto), input } }); } public virtual async Task DeleteAsync(Guid id) { await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue { { typeof(Guid), id } }); } } }