aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs')
-rw-r--r--src/DevHive.Data/Interfaces/Repositories/IUserRepository.cs5
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);
}
}