Company: Cisco_16_jan
Difficulty: medium
Java: Show Booking Description Implement a ShowBooking service for a theater with multiple auditoriums. Each auditorium can host a single event per day and has a fixed seating capacity. The service needs to: Store information about which events take place in which auditoriums. Manage seat bookings while avoiding conflicts when multiple customers try to book tickets simultaneously. Implementation You are required to implement two classes: 1. Complete the Repo class that implements the IRepo interface to store booking information: void registerEventInAuditorium(int auditoriumNumber, int eventId, int capacity) : Create and store an Auditorium object with the given parameters. Auditorium getAuditoriumDetailsForEvent(int eventId) : Return the Auditorium object where the specified event will occur. int getNumberOfSeatsBookedOrUnderBookingForEvent(int eventId) : Return the total count of tickets that are either booked or in the process of being booked for a given event. void addUnderBooking(i