|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
// 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.Application.Dtos;
|
|
|
|
|
using Volo.Abp.Http.Client;
|
|
|
|
@ -65,6 +66,14 @@ public partial class PostsClientProxy : ClientProxyBase<IPostAppService>, IPostA
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public virtual async Task<List<PostWithDetailsDto>> GetListByUserIdAsync(Guid userId)
|
|
|
|
|
{
|
|
|
|
|
return await RequestAsync<List<PostWithDetailsDto>>(nameof(GetListByUserIdAsync), new ClientProxyRequestTypeValue
|
|
|
|
|
{
|
|
|
|
|
{ typeof(Guid), userId }
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public virtual async Task DeleteAsync(Guid id)
|
|
|
|
|
{
|
|
|
|
|
await RequestAsync(nameof(DeleteAsync), new ClientProxyRequestTypeValue
|
|
|
|
|