aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-29 16:58:23 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-29 16:58:23 +0300
commit9b73e5af74e4aa2f6294b59dee7237a2fa75f26f (patch)
treec392b75f6771147e876ee202a16fd291f0c78833 /src/Services/DevHive.Services/Interfaces
parent0cf2a3c99141f878168271e53999cdacac95f3c4 (diff)
downloadDevHive-fix_friends_authorization.tar
DevHive-fix_friends_authorization.tar.gz
DevHive-fix_friends_authorization.zip
Added initial implmementation of AddFriendfix_friends_authorization
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IUserService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IUserService.cs b/src/Services/DevHive.Services/Interfaces/IUserService.cs
index a55f9dd..47948f4 100644
--- a/src/Services/DevHive.Services/Interfaces/IUserService.cs
+++ b/src/Services/DevHive.Services/Interfaces/IUserService.cs
@@ -52,6 +52,8 @@ namespace DevHive.Services.Interfaces
/// <returns>The new picture's URL</returns>
Task<ProfilePictureServiceModel> UpdateProfilePicture(UpdateProfilePictureServiceModel updateProfilePictureServiceModel);
+ Task<bool> AddFriend(Guid id, UpdateFriendServiceModel updateFriendServiceModel);
+
/// <summary>
/// Deletes a user from the database and removes his data entirely
/// Requires authenticated user