|
|
|
@ -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; |
|
|
|
@ -7,6 +8,7 @@ using Volo.Abp.Http.Modeling; |
|
|
|
using Volo.Abp.DependencyInjection; |
|
|
|
using Volo.Abp.Http.Client.ClientProxying; |
|
|
|
using Volo.CmsKit.Public.Blogs; |
|
|
|
using Volo.CmsKit.Users; |
|
|
|
|
|
|
|
// ReSharper disable once CheckNamespace
|
|
|
|
namespace Volo.CmsKit.Public.Blogs.ClientProxies; |
|
|
|
@ -23,13 +25,18 @@ public partial class BlogPostPublicClientProxy : ClientProxyBase<IBlogPostPublic |
|
|
|
{ typeof(string), blogPostSlug } |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public virtual async Task<PagedResultDto<BlogPostPublicDto>> GetListAsync(string blogSlug, PagedAndSortedResultRequestDto input) |
|
|
|
|
|
|
|
public virtual async Task<PagedResultDto<BlogPostPublicDto>> GetListAsync(string blogSlug, BlogPostGetListInput input) |
|
|
|
{ |
|
|
|
return await RequestAsync<PagedResultDto<BlogPostPublicDto>>(nameof(GetListAsync), new ClientProxyRequestTypeValue |
|
|
|
{ |
|
|
|
{ typeof(string), blogSlug }, |
|
|
|
{ typeof(PagedAndSortedResultRequestDto), input } |
|
|
|
{ typeof(BlogPostGetListInput), input } |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
public virtual async Task<List<CmsUserDto>> GetAuthorsHasBlogPosts() |
|
|
|
{ |
|
|
|
return await RequestAsync<List<CmsUserDto>>(nameof(GetAuthorsHasBlogPosts)); |
|
|
|
} |
|
|
|
} |
|
|
|
|