some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import '../entities/user_profile.dart';
|
||||
import '../repositories/profile_repository.dart';
|
||||
|
||||
class UpdateProfileUseCase {
|
||||
final UserProfileRepository repository;
|
||||
|
||||
UpdateProfileUseCase(this.repository);
|
||||
|
||||
Future<UserProfile?> call(UserProfile profile) {
|
||||
return repository.updateProfile(profile);
|
||||
}
|
||||
}
|
||||
import '../entities/user_profile.dart';
|
||||
import '../repositories/profile_repository.dart';
|
||||
|
||||
class UpdateProfileUseCase {
|
||||
final UserProfileRepository repository;
|
||||
|
||||
UpdateProfileUseCase(this.repository);
|
||||
|
||||
Future<UserProfile?> call(UserProfile profile) {
|
||||
return repository.updateProfile(profile);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user