How ishmam21/seat-booking works
This is an ASP.NET MVC seat-reservation application: customers browse layouts, select seats, complete a demo checkout and review bookings; layout creators manage layouts and seats, while users can register, sign in and edit account settings. The graph follows controller-to-service and service-to-repository calls where the indexed source references support them. Several controllers and repositories were not excerpted, so their behavior is represented at subsystem level and uncertain links are omitted.
Main entry points: LayoutService.cs Layout service · AppDbContext.cs Entity Framework context · BookingService.cs Booking service · Tables Reservation entities
Components 21
Web application
- Layout selection
AppLayerMVC/Controllers/SelectController.cs - Booking and checkout
AppLayerMVC/Controllers/BookController.cs - My bookings
AppLayerMVC/Controllers/MyBookingsController.cs - Layout management
AppLayerMVC/Controllers/MyLayoutsController.cs - Layout creation
AppLayerMVC/Controllers/CreatorController.cs - Account and access
AppLayerMVC/Controllers/SettingsController.cs - Registration
AppLayerMVC/Controllers/RegisterController.cs - Sign-in
AppLayerMVC/Controllers/LoginController.cs - Seat preview
AppLayerMVC/Controllers/BookController.cs - Database warmup
AppLayerMVC/Controllers/WarmupController.cs
Domain services
- Layout service
BLL/Services/LayoutService.cs - Booking service
BLL/Services/BookingService.cs - User service
BLL/Services/UserServices.cs - Domain models
BLL/Models
Persistence
- Layout repository
DAL/Repo/LayoutRepo.cs - Booking repository
DAL/Repo/BookingRepo.cs - User repository
DAL/Repo/UserRepo.cs - Entity Framework context
DAL/EF/AppDbContext.cs - Reservation entities
DAL/EF/Tables - PostgreSQL database
Other components
- Visitor
Connections 22
- Visitor → Layout selection: browses
- Layout selection → Layout service: requests layouts
AppLayerMVC/Controllers/SelectController.cs - Booking and checkout → Layout service: loads layout
AppLayerMVC/Controllers/BookController.cs - Booking and checkout → Booking service: checks and creates
AppLayerMVC/Controllers/BookController.cs - My bookings → Booking service: loads bookings
AppLayerMVC/Controllers/MyBookingsController.cs - Layout management → Layout service: manages layouts
AppLayerMVC/Controllers/MyLayoutsController.cs - Layout creation → Layout service: creates layouts
AppLayerMVC/Controllers/CreatorController.cs - Seat preview → Layout service: loads seat data
AppLayerMVC/Controllers/BookController.cs - Account and access → Reservation entities: uses user records
AppLayerMVC/Controllers/SettingsController.cs - Registration → Reservation entities: uses user records
AppLayerMVC/Controllers/RegisterController.cs - Sign-in → Reservation entities: uses user records
AppLayerMVC/Controllers/LoginController.cs - Database warmup → Entity Framework context: checks database
AppLayerMVC/Controllers/WarmupController.cs - Layout service → Layout repository: delegates storage
BLL/Services/LayoutService.cs - Booking service → Booking repository: delegates storage
BLL/Services/BookingService.cs - User service → User repository: delegates storage
BLL/Services/UserServices.cs - Layout repository → Entity Framework context: queries and saves
DAL/Repo/LayoutRepo.cs - Booking repository → Entity Framework context: queries and saves
DAL/Repo/BookingRepo.cs - User repository → Entity Framework context: queries and saves
DAL/Repo/UserRepo.cs - Entity Framework context → Reservation entities: maps records
DAL/EF/AppDbContext.cs - Entity Framework context → PostgreSQL database: persists data
DAL/EF/AppDbContext.cs - Layout service → Domain models: maps layout data
BLL/Services/LayoutService.cs - Booking service → Domain models: builds booking views
BLL/Services/BookingService.cs