using Model; using Model.Entity; using Service.Interface; namespace Service.Interface { public interface IPostService : IBaseService { Task>> GetRecommendedPostsAsync(int count = 10); Task>> SearchPostsAsync(string keyword); Task>> GetPostsByCategoryAsync(string category, int count = 10); Task> CreatePostAsync(PostEntity post); Task> UpdatePostAsync(PostEntity post); Task> DeletePostAsync(long postId); } }