How rayan-web790/car-rental works
VoitureSaada is a SQL Server-backed car-rental ecosystem with an ASP.NET Core customer portal and a WPF administration dashboard. The customer workflow covers account access, vehicle discovery, reservation confirmation, and a generated PDF receipt with a QR verification link; the admin app provides fleet, collection, user, and statistics management. The graph preserves documented reporting and payment/document areas, but sampled evidence does not establish all their runtime wiring. Edges are limited to visible calls or README statements.
Main entry points: DatabaseHelper.cs Web database access · Program.cs MVC application · ReservationController.cs Booking confirmation · AccountController.cs Account access
Components 24
Customer portal
- MVC application
src/VoitureSaada.Web/Program.cs - Account access
src/VoitureSaada.Web/Controllers/AccountController.cs - Vehicle catalog
src/VoitureSaada.Web/Controllers/HomeController.cs - Collections
src/VoitureSaada.Web/Controllers/CollectionsController.cs - Collection model
src/VoitureSaada.Web/Models/Collection.cs
Rental operations
- Booking confirmation
src/VoitureSaada.Web/Controllers/ReservationController.cs - PDF and QR receipt
src/VoitureSaada.Web/Controllers/ReservationController.cs - Receipt files
src/VoitureSaada.Web/wwwroot/documents - My reservations
src/VoitureSaada.Web/Controllers/MyReservationsController.cs - Documents
src/VoitureSaada.Web/Controllers/DocumentsController.cs - Payments
src/VoitureSaada.Web/Controllers/PaymentsController.cs - Reservation model
src/VoitureSaada.Web/Models/Reservation.cs
Admin dashboard
- Admin sign-in
src/VoitureSaada.Monitoring/LoginWindow.xaml.cs - Fleet management
src/VoitureSaada.Monitoring/Views/VehicleManagementView.xaml.cs - Collection management
src/VoitureSaada.Monitoring/Views/CollectionsView.xaml.cs - User dashboard
src/VoitureSaada.Monitoring/Views/UserDashboardView.xaml.cs - Statistics reports
src/VoitureSaada.Monitoring/Views/StatisticsView.xaml.cs - Admin settings
src/VoitureSaada.Monitoring/Views/SettingsView.xaml.cs
Persistence
- Web database access
src/VoitureSaada.Web/Services/DatabaseHelper.cs - Admin database access
src/VoitureSaada.Monitoring/Services/DatabaseHelper.cs - SQL Server
src/VoitureSaada.Database/init_db.sql - Password hashing
src/VoitureSaada.Web/Services/PasswordHasher.cs
Other components
- Customer
- Administrator
Connections 21
- Customer → MVC application: uses portal
README.md - MVC application → Account access: routes requests
src/VoitureSaada.Web/Program.cs - MVC application → Vehicle catalog: routes requests
src/VoitureSaada.Web/Program.cs - Account access → Web database access: queries users
src/VoitureSaada.Web/Controllers/AccountController.cs - Account access → Password hashing: verifies passwords
src/VoitureSaada.Web/Controllers/AccountController.cs - Vehicle catalog → Web database access: queries vehicles
src/VoitureSaada.Web/Controllers/HomeController.cs - Collections → Web database access: queries collections
src/VoitureSaada.Web/Controllers/CollectionsController.cs - Collections → Collection model: creates models
src/VoitureSaada.Web/Controllers/CollectionsController.cs - Booking confirmation → Web database access: reads and writes
src/VoitureSaada.Web/Controllers/ReservationController.cs - Booking confirmation → Password hashing: verifies password
src/VoitureSaada.Web/Controllers/ReservationController.cs - Booking confirmation → PDF and QR receipt: generates receipt
src/VoitureSaada.Web/Controllers/ReservationController.cs - PDF and QR receipt → Receipt files: writes PDF
src/VoitureSaada.Web/Controllers/ReservationController.cs - Administrator → Admin sign-in: signs in
- User dashboard → Admin database access: loads dashboard data
src/VoitureSaada.Monitoring/Views/UserDashboardView.xaml.cs - Collection management → Admin database access: manages collections
src/VoitureSaada.Monitoring/Views/CollectionsView.xaml.cs - MVC application → Web database access: registers service
src/VoitureSaada.Web/Program.cs - Web database access → SQL Server: uses SQL database
README.md - Admin database access → SQL Server: uses SQL database
README.md - Customer → My reservations: views bookings
README.md - Customer → Documents: accesses documents
README.md - Customer → Payments: uses payments
README.md