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.
22 lines
674 B
22 lines
674 B
using System;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.Application.Dtos;
|
|
using Volo.Abp.Application.Services;
|
|
|
|
namespace Volo.Blogging.Posts
|
|
{
|
|
public interface IPostAppService : IApplicationService
|
|
{
|
|
Task<ListResultDto<PostWithDetailsDto>> GetListByBlogId(Guid id);
|
|
|
|
Task<ListResultDto<PostWithDetailsDto>> GetListByBlogIdAndTagName(Guid blogId, string tagName);
|
|
|
|
Task<PostWithDetailsDto> GetForReadingAsync(GetPostInput input);
|
|
|
|
Task<PostWithDetailsDto> GetAsync(Guid id);
|
|
|
|
Task<PostWithDetailsDto> CreateAsync(CreatePostDto input);
|
|
|
|
Task<PostWithDetailsDto> UpdateAsync(Guid id, UpdatePostDto input);
|
|
}
|
|
}
|
|
|