aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/DevHive.Data/Interfaces')
-rw-r--r--src/Data/DevHive.Data/Interfaces/IRatingRepository.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs b/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs
index c8636b6..4cc34c8 100644
--- a/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs
+++ b/src/Data/DevHive.Data/Interfaces/IRatingRepository.cs
@@ -10,5 +10,6 @@ namespace DevHive.Data.Interfaces
{
Task<List<Rating>> GetRatingsByPostId(Guid postId);
Task<bool> UserRatedPost(Guid userId, Guid postId);
+ Task<Rating> GetRatingByUserAndPostId(Guid userId, Guid postId);
}
}