Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Data / DevHive.Data / Interfaces / IRatingRepository.cs
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/Data/DevHive.Data/Interfaces/IRatingRepository.cs1
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);
}
}