aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs')
-rw-r--r--src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs b/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
index b80c5a0..267f251 100644
--- a/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
+++ b/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
@@ -1,4 +1,5 @@
using System;
+using System.Collections.Generic;
using System.Threading.Tasks;
using DevHive.Data.Models;
using DevHive.Data.Repositories.Interfaces;
@@ -7,6 +8,8 @@ namespace DevHive.Data.Interfaces.Repositories
{
public interface ICommentRepository : IRepository<Comment>
{
+ Task<List<Comment>> GetPostComments(Guid postId);
+
Task<bool> DoesCommentExist(Guid id);
Task<Comment> GetCommentByIssuerAndTimeCreatedAsync(Guid issuerId, DateTime timeCreated);
}