mirrored_repositories/tsa_eventq/lib
import 'package:get/get.dart';

import '../model/booking.dart';
import '../source/booking_source.dart';

class CHistory extends GetxController {
  final _listBooking = <Booking>[].obs;
  List<Booking> get listBooking => _listBooking.value;

  getListBooking(String id) async {
    _listBooking.value = await BookingSource.getHistory(id);
    update();
  }
}
