How mudiambat13/rhuman works
This is a multi-project HR management web application: ASP.NET Core APIs and a Razor landing page expose account, employee, department, contract, leave, and salary-slip workflows. Controllers either call registered infrastructure services or directly query the EF Core context; the context persists HR entities and ASP.NET Identity data in SQL Server. Leave approval/rejection and salary-slip report generation are explicit domain stages. The tree and sampled files support these paths, but the README is empty and some controller, service, and entity implementations were not sampled, so uncertain links are omitted.
Main entry points: Program.cs Application host · ApplicationDbContext.cs EF context · EmployeesController.cs Employee API · DepartmentsController.cs Department API
Components 16
Web entrypoints
- Application host
HR.WebUI/Program.cs - Razor landing page
HR.WebUI/Pages/Index.cshtml
HR workflows
- Employee API
HR.WebUI/Controllers/EmployeesController.cs - Department API
HR.WebUI/Controllers/DepartmentsController.cs - Contract API
HR.WebUI/Controllers/ContractsController.cs - Leave API
HR.WebUI/Controllers/LeaveRequestsController.cs - Salary API
HR.WebUI/Controllers/SalarySlipsController.cs - Employee service
HR.Infrastructure/Services/EmployeeService.cs - Leave service
HR.Infrastructure/Services/LeaveRequestService.cs - Salary service
HR.Infrastructure/Services/SalarySlipService.cs - HR entities
HR.Domain/Entities
Identity
- Authentication API
HR.WebUI/Controllers/AuthController.cs - Identity manager
HR.WebUI/Program.cs
Persistence
- EF context
HR.Infrastructure/Data/ApplicationDbContext.cs - SQL Server
Other components
- HR user
Connections 26
- HR user → Employee API: requests employee operations
- HR user → Department API: requests department operations
- HR user → Contract API: requests contract operations
- HR user → Leave API: submits and reviews leave
- HR user → Salary API: requests salary records
- HR user → Authentication API: registers or signs in
- HR user → Razor landing page: opens
- Application host → Employee API: maps controllers
- Application host → Department API: maps controllers
- Application host → Contract API: maps controllers
- Application host → Leave API: maps controllers
- Application host → Salary API: maps controllers
- Application host → Authentication API: maps controllers
- Application host → EF context: configures SQL context
- Application host → Identity manager: configures Identity
- Employee API → Employee service: calls
- Employee service → EF context: queries and saves
- Department API → EF context: queries and saves
- Contract API → EF context: queries and saves
- Leave API → Leave service: calls
- Leave service → EF context: queries and saves
- Salary API → Salary service: calls
- Salary service → EF context: queries and saves
- Authentication API → Identity manager: manages accounts and sign-in
- EF context → SQL Server: reads and writes
- EF context → HR entities: maps entities