Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Data / Interfaces / Repositories / IRatingRepository.cs
diff options
context:
space:
mode:
1 files changed, 1 insertions, 3 deletions
-rw-r--r--src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs4
diff --git a/src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs b/src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs
index de4e3f2..7b99e0e 100644
--- a/src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs
+++ b/src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs
@@ -8,8 +8,6 @@ namespace DevHive.Data.Interfaces.Repositories
public interface IRatingRepository : IRepository<Rating>
{
Task<Rating> GetByPostId(Guid postId);
- Task<Tuple<int, int>> GetRating(Guid postId);
-
- Task<bool> HasUserRatedThisPost(Guid userId, Guid postId);
+ Task<int> GetRating(Guid postId);
}
}