import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
import 'package:diplomaticquarterapp/core/model/packages_offers/responses/OfferCategoriesResponseModel.dart';
import 'package:diplomaticquarterapp/core/model/packages_offers/responses/OfferProductsResponseModel.dart';
import 'package:diplomaticquarterapp/core/service/base_service.dart';
import 'package:diplomaticquarterapp/core/service/client/base_app_client.dart';
import 'package:diplomaticquarterapp/core/service/packages_offers/PackagesOffersServices.dart';
import 'package:diplomaticquarterapp/core/viewModels/base_view_model.dart';
import 'package:flutter/cupertino.dart';
import 'package:diplomaticquarterapp/locator.dart';

class OfferCategoriesViewModel extends BaseViewModel {
  OffersAndPackagesServices service = locator<OffersAndPackagesServices>();
  List<OfferCategoriesResponseModel> get list => service.categoryList;
}

class OfferProductsViewModel extends BaseViewModel {
  OffersAndPackagesServices service = locator<OffersAndPackagesServices>();
  List<OfferProductsResponseModel> get list => service.productList;
}
