How palakrk1056-ship-it/it_support_ticket_system works
This is an ASP.NET MVC ticket-management application backed by a separate REST API and PostgreSQL. A user works through ticket pages for listing, viewing, creating, editing, and deleting tickets; the MVC controller delegates HTTP operations to a typed API service, the API controller performs ticket CRUD through Entity Framework, and the database persists the records. The excerpts support this primary flow and the application registrations. The README is empty, so broader capabilities are not documented; view behavior is represented at the view-directory level.
Main entry points: TicketsController.cs Ticket actions · AppDbContext.cs Ticket context · TicketApiService.cs API client · Tickets Ticket pages
Components 12
Web interface
- Ticket pages
TicketSystem.Web/Views/Tickets - Ticket actions
TicketSystem.Web/Controllers/TicketsController.cs - API client
TicketSystem.Web/Services/TicketApiService.cs - Ticket view model
TicketSystem.Web/Models/TicketViewModel.cs - Home and errors
TicketSystem.Web/Controllers/HomeController.cs - Error model
TicketSystem.Web/Models/ErrorViewModel.cs
Ticket API
- API runtime
TicketSystem.Api/Program.cs - Ticket endpoints
TicketSystem.Api/Controllers/TicketsController.cs - Ticket entity
TicketSystem.Api/Models/Ticket.cs
Persistence
- Ticket context
TicketSystem.Api/Data/AppDbContext.cs - PostgreSQL
Other components
- Ticket user
Connections 13
- Ticket user → Ticket pages: uses
- Ticket pages → Ticket actions: submits
- Ticket actions → Ticket pages: renders
TicketSystem.Web/Controllers/TicketsController.cs - Ticket actions → API client: calls
TicketSystem.Web/Controllers/TicketsController.cs - API client → Ticket endpoints: HTTP requests
TicketSystem.Web/Services/TicketApiService.cs - API client → Ticket view model: serializes
TicketSystem.Web/Services/TicketApiService.cs - Ticket actions → Ticket view model: accepts
TicketSystem.Web/Controllers/TicketsController.cs - API runtime → Ticket endpoints: maps routes
TicketSystem.Api/Program.cs - Ticket endpoints → Ticket context: queries and saves
TicketSystem.Api/Controllers/TicketsController.cs - Ticket context → Ticket entity: stores set
TicketSystem.Api/Data/AppDbContext.cs - API runtime → Ticket context: registers
TicketSystem.Api/Program.cs - Ticket context → PostgreSQL: persists
- Home and errors → Error model: creates
TicketSystem.Web/Controllers/HomeController.cs