diff options
| author | transtrike <transtrike@gmail.com> | 2021-02-05 19:02:35 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2021-02-05 19:02:35 +0200 |
| commit | 8b62011960ce88d722c64b72af6837c2e2dbcda5 (patch) | |
| tree | 35a94a7571770057adff2290ffdb949e6daa789c /src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs | |
| parent | 75eeb4358e746d887677903052ed4bd5ca176f4d (diff) | |
| download | DevHive-8b62011960ce88d722c64b72af6837c2e2dbcda5.tar DevHive-8b62011960ce88d722c64b72af6837c2e2dbcda5.tar.gz DevHive-8b62011960ce88d722c64b72af6837c2e2dbcda5.zip | |
Friends relation FUCKING FINALLY FIXED, NIGGA
Diffstat (limited to 'src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs')
| -rw-r--r-- | src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs b/src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs index 5b6ab9e..5ebe3d3 100644 --- a/src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs +++ b/src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs @@ -10,14 +10,13 @@ namespace DevHive.Data.Interfaces.Repositories { //Read Task<User> GetByUsernameAsync(string username); - IEnumerable<User> QueryAll(); Task<bool> UpdateProfilePicture(Guid userId, string pictureUrl); //Validations + Task<bool> ValidateFriendsCollectionAsync(List<string> usernames); Task<bool> DoesEmailExistAsync(string email); Task<bool> DoesUserExistAsync(Guid id); - Task<bool> DoesUserHaveThisFriendAsync(Guid userId, Guid friendId); - bool DoesUserHaveThisUsername(Guid id, string username); Task<bool> DoesUsernameExistAsync(string username); + bool DoesUserHaveThisUsername(Guid id, string username); } } |
