some fix
# Conflicts: # lib/presentation/navigation/app_router.dart # pubspec.yaml
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import '../repositories/payment_repository.dart';
|
||||
import '../../core/result.dart';
|
||||
|
||||
class RemovePaymentCardUsecase {
|
||||
final PaymentRepository repository;
|
||||
|
||||
RemovePaymentCardUsecase(this.repository);
|
||||
|
||||
Future<Result<void>> call(int cardId) {
|
||||
return repository.removePaymentCard(cardId);
|
||||
}
|
||||
}
|
||||
import '../repositories/payment_repository.dart';
|
||||
import '../../core/result.dart';
|
||||
|
||||
class RemovePaymentCardUsecase {
|
||||
final PaymentRepository repository;
|
||||
|
||||
RemovePaymentCardUsecase(this.repository);
|
||||
|
||||
Future<Result<void>> call(int cardId) {
|
||||
return repository.removePaymentCard(cardId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user