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 createPostServiceModel); Task AddComment(CreateCommentServiceModel createPostServiceModel); Task GetPostById(Guid id); Task GetCommentById(Guid id); Task UpdatePost(UpdatePostServiceModel updatePostServiceModel); Task UpdateComment(UpdateCommentServiceModel updateCommentServiceModel); Task DeletePost(Guid id); Task DeleteComment(Guid id); Task ValidateJwtForPost(Guid postId, string rawTokenData); Task ValidateJwtForComment(Guid commentId, string rawTokenData); } }