aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authorDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-21 22:21:08 +0200
committerDanail Dimitrov <danaildimitrov321@gmail.com>2021-02-21 22:21:08 +0200
commita851adfac47a26cae83e9161d37902a219e5ebf3 (patch)
treef8b214b22d83c78c3036796383cc4edba6483a28 /src/Services/DevHive.Services/Interfaces
parent1d2f0ea1665b6eb2d9cc3334841318a39ab41e0e (diff)
downloadDevHive-a851adfac47a26cae83e9161d37902a219e5ebf3.tar
DevHive-a851adfac47a26cae83e9161d37902a219e5ebf3.tar.gz
DevHive-a851adfac47a26cae83e9161d37902a219e5ebf3.zip
model update for rating
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IRatingService.cs (renamed from src/Services/DevHive.Services/Interfaces/IRateService.cs)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IRateService.cs b/src/Services/DevHive.Services/Interfaces/IRatingService.cs
index 359ef55..adb4313 100644
--- a/src/Services/DevHive.Services/Interfaces/IRateService.cs
+++ b/src/Services/DevHive.Services/Interfaces/IRatingService.cs
@@ -5,9 +5,9 @@ using DevHive.Services.Models.Post.Rating;
namespace DevHive.Services.Interfaces
{
- public interface IRateService
+ public interface IRatingService
{
- Task<ReadPostRatingServiceModel> RatePost(RatePostServiceModel ratePostServiceModel);
+ Task<ReadRatingServiceModel> RatePost(CreateRatingServiceModel ratePostServiceModel);
bool HasUserRatedThisPost(User user, Post post);
}