aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-03 21:05:47 +0200
committerDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-03 21:05:47 +0200
commit7e77ab4c7d96e853a40c313bf59bf2cb9d3735eb (patch)
treea9c99cf1e3d69da9c329cfe20c368764645c3614 /src/DevHive.Data/Interfaces/Repositories/ICommentRepository.cs
parenta0d819bc3ad1f83c0bfa4294fc63679fb9d9f4d9 (diff)
parent5446e356a9783645f5599fb2b4f7fe8f4d05e30e (diff)
downloadDevHive-7e77ab4c7d96e853a40c313bf59bf2cb9d3735eb.tar
DevHive-7e77ab4c7d96e853a40c313bf59bf2cb9d3735eb.tar.gz
DevHive-7e77ab4c7d96e853a40c313bf59bf2cb9d3735eb.zip
Merge branch 'dev' of https://github.com/Team-Kaleidoscope/DevHive into dev
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);
}