using System; using System.Threading.Tasks; using DevHive.Services.Models.Post.Comment; using DevHive.Services.Models.Post.Post; namespace DevHive.Services.Interfaces { public interface IPostService { Task CreatePost(CreatePostServiceModel postServiceModel); Task AddComment(CreateCommentServiceModel commentServiceModel); Task GetCommentById(Guid id); Task GetPostById(Guid id); Task UpdateComment(UpdateCommentServiceModel commentServiceModel); Task UpdatePost(UpdatePostServiceModel postServiceModel); Task DeleteComment(Guid id); Task DeletePost(Guid id); Task ValidateJwtForComment(Guid commentId, string rawTokenData); } }