aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs
diff options
context:
space:
mode:
authortranstrike <transtrike@gmail.com>2021-02-01 16:03:38 +0200
committertranstrike <transtrike@gmail.com>2021-02-01 16:03:38 +0200
commitb41f887712ef8f2f0b602da3042261a78c5f492a (patch)
treefb6437ea34896da7c7db3a292bbdb8ee7d14e889 /src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs
parentaa342542789b22f24ce3ecbfcb7888d4ff12d30c (diff)
downloadDevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.tar.gz
DevHive-b41f887712ef8f2f0b602da3042261a78c5f492a.zip
Commented out implementation of Rating; Bug fixes
Diffstat (limited to 'src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs')
-rw-r--r--src/DevHive.Data/Interfaces/Repositories/IRatingRepository.cs4
1 files changed, 1 insertions, 3 deletions
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);
}
}