Refactoring - Version OK

This commit is contained in:
dahoud
2025-11-17 16:02:04 +00:00
parent 3f00a26308
commit 3b9ffac8cd
198 changed files with 18010 additions and 11383 deletions

View File

@@ -0,0 +1,19 @@
/// Configuration de l'injection de dépendances pour le module Cotisations
library cotisations_di;
import 'package:get_it/get_it.dart';
import '../bloc/contributions_bloc.dart';
/// Enregistrer les dépendances du module Cotisations
void registerCotisationsDependencies(GetIt getIt) {
// BLoC
getIt.registerFactory<ContributionsBloc>(
() => ContributionsBloc(),
);
// Repository sera ajouté ici quand l'API backend sera prête
// getIt.registerLazySingleton<CotisationRepository>(
// () => CotisationRepositoryImpl(dio: getIt()),
// );
}