using DevHive.Data.Models; using System; using System.Threading.Tasks; namespace DevHive.Data.Repositories.Contracts { public interface IPostRepository : IRepository { public Task AddCommentAsync(Comment entity); public Task GetCommentByIdAsync(Guid id); public Task EditCommentAsync(Comment newEntity); public Task DeleteCommentAsync(Comment entity); public Task DoesPostExist(Guid postId); public Task DoesCommentExist(Guid id); } }