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

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