refactoring

This commit is contained in:
DahoudG
2024-09-01 04:08:50 +00:00
parent 7e1cb85160
commit a1fce6bf27
31 changed files with 1651 additions and 441 deletions

View File

@@ -14,8 +14,8 @@ class UserRepositoryImpl implements UserRepository {
return userModel; // Retourne un UserModel qui est un sous-type de User
}
Future<User> authenticateUser(String email, String password) async {
UserModel userModel = await remoteDataSource.authenticateUser(email, password);
Future<User> authenticateUser(String email, String password, String userId) async {
UserModel userModel = await remoteDataSource.authenticateUser(email, password, userId);
return userModel; // Retourne un UserModel qui est un sous-type de User
}
}