import '../../../../core/resources/data_state.dart';
import '../../../../core/usecase/use_case.dart';
import '../entities/shop_entities.dart';
import '../repository/shop_repository.dart';

class GetShopUseCase implements UseCase<DataState<ShopData>, NoParams> {
  final ShopRepository repository;
  GetShopUseCase(this.repository);

  @override
  Future<DataState<ShopData>> call(NoParams params) => repository.getShop();
}
