using System; using System.Threading.Tasks; using DevHive.Services.Models.Post; namespace DevHive.Services.Interfaces { public interface IPostService { Task CreatePost(CreatePostServiceModel createPostServiceModel); Task GetPostById(Guid id); Task UpdatePost(UpdatePostServiceModel updatePostServiceModel); Task DeletePost(Guid id); Task ValidateJwtForCreating(Guid userId, string rawTokenData); Task ValidateJwtForPost(Guid postId, string rawTokenData); } }