aboutsummaryrefslogtreecommitdiff
path: root/src/Services/DevHive.Services/Interfaces
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-04-08 09:29:49 +0300
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-04-08 09:29:49 +0300
commitffc6b7cd6e454627c95044e88037b37d31dcfce3 (patch)
treeb2d1b5d1882f022d5420f8227010d025ba8ee5fd /src/Services/DevHive.Services/Interfaces
parent0a58b0c36f113b41984629aff45a9162305300a4 (diff)
downloadDevHive-ffc6b7cd6e454627c95044e88037b37d31dcfce3.tar
DevHive-ffc6b7cd6e454627c95044e88037b37d31dcfce3.tar.gz
DevHive-ffc6b7cd6e454627c95044e88037b37d31dcfce3.zip
Updated adding and removing friends to work with friend username, instead of friend id (temporary solution?)
Diffstat (limited to 'src/Services/DevHive.Services/Interfaces')
-rw-r--r--src/Services/DevHive.Services/Interfaces/IFriendsService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Services/DevHive.Services/Interfaces/IFriendsService.cs b/src/Services/DevHive.Services/Interfaces/IFriendsService.cs
index e337793..52f23f3 100644
--- a/src/Services/DevHive.Services/Interfaces/IFriendsService.cs
+++ b/src/Services/DevHive.Services/Interfaces/IFriendsService.cs
@@ -5,7 +5,7 @@ namespace DevHive.Services.Interfaces
{
public interface IFriendsService
{
- Task<bool> AddFriend(Guid userId, Guid friendId);
- Task<bool> RemoveFriend(Guid userId, Guid friendId);
+ Task<bool> AddFriend(Guid userId, string friendUsername);
+ Task<bool> RemoveFriend(Guid userId, string friendUsername);
}
}