import { BookingUnitTypeView } from '@/apps/portal/modules/booking/views/BookingUnitTypeView';
import { BaseView } from '@/shared/modules/base/views/BaseView';

export class BookingLocationView extends BaseView {
  async select(locationId: number): Promise<BookingUnitTypeView> {
    await this.host.goto(`/${locationId}`);
    return new BookingUnitTypeView(this.host);
  }
}
