// 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.Public.Comments; // ReSharper disable once CheckNamespace namespace Volo.CmsKit.Public.Comments.ClientProxies; [Dependency(ReplaceServices = true)] [ExposeServices(typeof(ICommentPublicAppService), typeof(CommentPublicClientProxy))] public partial class CommentPublicClientProxy : ClientProxyBase, ICommentPublicAppService { public virtual async Task> GetListAsync(string entityType, string entityId) { return await RequestAsync>(nameof(GetListAsync), new ClientProxyRequestTypeValue { { typeof(string), entityType }, { typeof(string), entityId } }); } public virtual async Task CreateAsync(string entityType, string entityId, CreateCommentInput input) { return await RequestAsync(nameof(CreateAsync), new ClientProxyRequestTypeValue { { typeof(string), entityType }, { typeof(string), entityId }, { typeof(CreateCommentInput), input } }); } public virtual async Task UpdateAsync(Guid id, UpdateCommentInput input) { return await RequestAsync(nameof(UpdateAsync), new ClientProxyRequestTypeValue { { typeof(Guid), id }, { typeof(UpdateCommentInput), input } }); } public virtual async Task DeleteAsync(Guid id) { await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue { { typeof(Guid), id } }); } }