How volamarosoa/gestion-transport-back-office works
This is an ASP.NET back-office application for managing employee transport. Administrators review and validate or reject transport requests, inspect validated transport history, and can automatically assign vehicles to eligible requests. The sampled code shows these page handlers using Entity Framework through AppDbContext, with transport requests represented by Affectation and related employee, address, site, schedule, vehicle, and assignment-type models. The README does not describe other capabilities; some page and persistence wiring is only partially sampled.
Main entry points: Affectation.cs Transport assignment · AppDbContext.cs Entity Framework context · HistoriqueTransport.cshtml.cs Transport history · Employe.cs Employee
Components 17
Transport operations
- Request review
GestionTransport.BackOffice/Pages/Transport/DemandeTransport.cshtml.cs - Transport history
GestionTransport.BackOffice/Pages/Transport/HistoriqueTransport.cshtml.cs
Fleet management
- Vehicle management
GestionTransport.BackOffice/Pages/Vehicules/GestionVehicule.cshtml.cs - Vehicle
GestionTransport.BackOffice/Models/Vehicule.cs
Transport domain
- Transport assignment
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Assignment history
GestionTransport.BackOffice/Models/Affectation/HistoriqueAffectation.cs - Assignment type
GestionTransport.BackOffice/Models/Affectation/TypeAffectation.cs - Employee
GestionTransport.BackOffice/Models/Employes/Employe.cs - Employee address
GestionTransport.BackOffice/Models/Employes/AdresseEmploye.cs - Department
GestionTransport.BackOffice/Models/Departement.cs - Transport site
GestionTransport.BackOffice/Models/Site.cs - Transport type
GestionTransport.BackOffice/Models/Transport/TypeTransport.cs - Transport date
GestionTransport.BackOffice/Models/Transport/DateTransport.cs - Transport time
GestionTransport.BackOffice/Models/Transport/HeureTransport.cs
Persistence
- Entity Framework context
GestionTransport.BackOffice/Data/AppDbContext.cs - Database
Other components
- Administrator
Connections 24
- Administrator → Request review: reviews requests
- Administrator → Transport history: manages history
- Administrator → Vehicle management: manages fleet
- Request review → Entity Framework context: queries and updates
GestionTransport.BackOffice/Pages/Transport/DemandeTransport.cshtml.cs - Request review → Transport assignment: validates or rejects
GestionTransport.BackOffice/Pages/Transport/DemandeTransport.cshtml.cs - Transport history → Entity Framework context: queries and saves
GestionTransport.BackOffice/Pages/Transport/HistoriqueTransport.cshtml.cs - Transport history → Vehicle: assigns vehicles
GestionTransport.BackOffice/Pages/Transport/HistoriqueTransport.cshtml.cs - Transport history → Transport assignment: updates status
GestionTransport.BackOffice/Pages/Transport/HistoriqueTransport.cshtml.cs - Vehicle management → Entity Framework context: manages vehicles
GestionTransport.BackOffice/Pages/Vehicules/GestionVehicule.cshtml.cs - Entity Framework context → Database: persists entities
GestionTransport.BackOffice/Data/AppDbContext.cs - Entity Framework context → Transport assignment: maps entity
GestionTransport.BackOffice/Data/AppDbContext.cs - Entity Framework context → Employee: maps relation
GestionTransport.BackOffice/Data/AppDbContext.cs - Entity Framework context → Employee address: maps relation
GestionTransport.BackOffice/Data/AppDbContext.cs - Transport assignment → Employee: references employee
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Employee address: references address
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Transport site: references site
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Vehicle: references vehicle
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Transport type: references type
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Transport date: stores date
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Transport time: references time
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Assignment type: references type
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Transport assignment → Assignment history: creates history entry
GestionTransport.BackOffice/Models/Affectation/Affectation.cs - Employee → Department: references department
GestionTransport.BackOffice/Models/Employes/Employe.cs - Employee → Employee address: has addresses
GestionTransport.BackOffice/Models/Employes/Employe.cs