aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces/IRatingService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces/IRatingService.cs')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IRatingService.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IRatingService.cs b/src/Services/DevHive.Services/Interfaces/IRatingService.cs
index a554ce3..601b07e 100644
--- a/src/Services/DevHive.Services/Interfaces/IRatingService.cs
+++ b/src/Services/DevHive.Services/Interfaces/IRatingService.cs
@@ -10,9 +10,10 @@ namespace DevHive.Services.Interfaces
Task<Guid> RatePost(CreateRatingServiceModel createRatingServiceModel);
Task<ReadRatingServiceModel> GetRatingById(Guid ratingId);
- Task<ReadRatingServiceModel> GetUserRateFromPost(Guid userId, Guid postId);
Task<bool> HasUserRatedThisPost(Guid userId, Guid postId);
- Task<ReadRatingServiceModel> RemoveUserRateFromPost(Guid userId, Guid postId);
+ Task<ReadRatingServiceModel> UpdateRating(UpdateRatingServiceModel updateRatingServiceModel);
+
+ Task<bool> DeleteRating(Guid ratingId);
}
}