# a-nagy/fourthgroup_bootcamp2026 architecture

> Architecture diagram of the GitHub repository a-nagy/fourthgroup_bootcamp2026, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-14). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/a-nagy/fourthgroup_bootcamp2026
- Repository: https://github.com/a-nagy/fourthgroup_bootcamp2026

## Overview

This repository combines introductory C# exercises with two CompanyManagement ASP.NET implementations: an API/MVC application and a separate MVC application. The clearest product workflow is employee requests handled by controllers, then application services or repositories, with persistence through Entity Framework. The training material is a separate learning branch covering functions and object-oriented examples. The README is empty, and unsampled controllers and wiring are represented cautiously; links reflect only shown code or SOURCE INDEX references.

Main entry points: [`4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs`](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs) (Employee service), [`4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs`](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs) (API host), [`2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs`](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs) (Employee example), [`2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs`](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs) (Student example)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_training["C&#35; learning examples"]
  node_functions["Function exercises<br/>[Functions_12.cs]"]
  node_person["Person base<br/>[Person.cs]"]
  node_employee["Employee example<br/>[Employees.cs]"]
  node_manager["Manager example<br/>[Manager.cs]"]
  node_student["Student example<br/>[Students.cs]"]
  node_printable["Printable contract<br/>[IPrintable.cs]"]
  node_dbexercise["SQL connection exercise<br/>[ConnectDatabase.cs]"]
end

subgraph group_company["CompanyManagement application"]
  node_apiprogram["API host<br/>[Program.cs]"]
  node_apicontroller["Employee API"]
  node_weather["Weather endpoint"]
  node_forecast["Forecast model<br/>[WeatherForecast.cs]"]
  node_webhost["MVC host<br/>[Program.cs]"]
  node_webcontrollers["Management controllers<br/>[Controllers]"]
  node_servicecontract["Employee service contract"]
  node_employeeservice["Employee service<br/>[EmployeeService.cs]"]
  node_unitofwork["Repositories and unit of work<br/>[Repositories]"]
  node_apidata[("API database context<br/>[AppDbContext.cs]")]
  node_webdata[("Web database context<br/>[AppDbContext.cs]")]
end

subgraph group_legacy["FourthGroup MVC"]
  node_legacycontroller["Employee MVC controller"]
  node_legacyrepos["Employee repository"]
  node_legacydata[("MVC database context<br/>[AppDbContext.cs]")]
end

node_learner(("Learner"))
node_apiuser(("API client"))
node_mvcuser(("MVC user"))

node_learner -.->|"studies"| node_functions
node_employee -->|"inherits"| node_person
node_manager -->|"inherits"| node_employee
node_student -->|"inherits"| node_person
node_employee -->|"implements"| node_printable
node_student -->|"implements"| node_printable
node_apiuser -.->|"requests"| node_apicontroller
node_apicontroller -->|"reads and writes"| node_apidata
node_apiprogram -->|"configures"| node_apidata
node_apiprogram -->|"registers"| node_employeeservice
node_apiprogram -->|"registers"| node_unitofwork
node_weather -->|"returns"| node_forecast
node_mvcuser -.->|"requests"| node_webcontrollers
node_webhost -->|"configures"| node_webdata
node_webhost -->|"registers"| node_employeeservice
node_employeeservice -->|"implements"| node_servicecontract
node_employeeservice -->|"uses"| node_unitofwork
node_legacycontroller -->|"dispatches"| node_legacyrepos
node_legacyrepos -->|"queries"| node_legacydata

click node_functions "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_5/Function_Void_P1/Functions_12.cs"
click node_person "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Person.cs"
click node_employee "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs"
click node_manager "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Manager.cs"
click node_student "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs"
click node_printable "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/IPrintable.cs"
click node_dbexercise "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Revision/ConnectDb/ConnectDatabase.cs"
click node_apiprogram "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs"
click node_apicontroller "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/EmployeesController.cs"
click node_weather "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/WeatherForecastController.cs"
click node_forecast "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/WeatherForecast.cs"
click node_webhost "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Program.cs"
click node_webcontrollers "https://github.com/a-nagy/fourthgroup_bootcamp2026/tree/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Controllers"
click node_servicecontract "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Application/Abstractions/Services/IEmployeeService.cs"
click node_employeeservice "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs"
click node_unitofwork "https://github.com/a-nagy/fourthgroup_bootcamp2026/tree/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Repositories"
click node_apidata "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs"
click node_webdata "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs"
click node_legacycontroller "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Controllers/EmployeesController.cs"
click node_legacyrepos "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Repositories/Emoloyees/EmployeeRepository.cs"
click node_legacydata "https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Data/AppDbContext.cs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_functions,node_person,node_employee,node_manager,node_student,node_printable,node_dbexercise,node_apiuser,node_mvcuser toneBlue
class node_apiprogram,node_apicontroller,node_weather,node_forecast,node_webhost,node_webcontrollers,node_servicecontract,node_employeeservice,node_unitofwork,node_apidata,node_webdata toneAmber
class node_legacycontroller,node_legacyrepos,node_legacydata toneMint
class node_learner toneIndigo
```

## Components

### C# learning examples

- [Function exercises](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_5/Function_Void_P1/Functions_12.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_5/Function_Void_P1/Functions_12.cs`
- [Person base](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Person.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Person.cs`
- [Employee example](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs`
- [Manager example](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Manager.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Manager.cs`
- [Student example](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs`
- [Printable contract](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/IPrintable.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/IPrintable.cs`
- [SQL connection exercise](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/2-C%23_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Revision/ConnectDb/ConnectDatabase.cs): `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Revision/ConnectDb/ConnectDatabase.cs`

### CompanyManagement application

- [API host](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs`
- [Employee API](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/EmployeesController.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/EmployeesController.cs`
- [Weather endpoint](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/WeatherForecastController.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/WeatherForecastController.cs`
- [Forecast model](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/WeatherForecast.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/WeatherForecast.cs`
- [MVC host](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Program.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Program.cs`
- [Management controllers](https://github.com/a-nagy/fourthgroup_bootcamp2026/tree/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Controllers): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Controllers`
- [Employee service contract](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Application/Abstractions/Services/IEmployeeService.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Application/Abstractions/Services/IEmployeeService.cs`
- [Employee service](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs`
- [Repositories and unit of work](https://github.com/a-nagy/fourthgroup_bootcamp2026/tree/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Repositories): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Repositories`
- [API database context](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs`
- [Web database context](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs): `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Data/AppDbContext.cs`

### FourthGroup MVC

- [Employee MVC controller](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Controllers/EmployeesController.cs): `4_Asp.Net Core/FourthGroup_1/FourthGroup_1/Controllers/EmployeesController.cs`
- [Employee repository](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Repositories/Emoloyees/EmployeeRepository.cs): `4_Asp.Net Core/FourthGroup_1/FourthGroup_1/Repositories/Emoloyees/EmployeeRepository.cs`
- [MVC database context](https://github.com/a-nagy/fourthgroup_bootcamp2026/blob/main/4_Asp.Net%20Core/FourthGroup_1/FourthGroup_1/Data/AppDbContext.cs): `4_Asp.Net Core/FourthGroup_1/FourthGroup_1/Data/AppDbContext.cs`

### Other components

- **Learner**
- **API client**
- **MVC user**

## Connections

- Learner → Function exercises: studies
- Employee example → Person base: inherits (evidence: `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs`)
- Manager example → Employee example: inherits (evidence: `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Manager.cs`)
- Student example → Person base: inherits (evidence: `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs`)
- Employee example → Printable contract: implements (evidence: `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Employee_18/Employees.cs`)
- Student example → Printable contract: implements (evidence: `2-C#_OOP_BootCamp_FourthGroup/Csharp_4/Csharp_4/Day_8/Student_19/Students.cs`)
- API client → Employee API: requests
- Employee API → API database context: reads and writes (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/EmployeesController.cs`)
- API host → API database context: configures (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs`)
- API host → Employee service: registers (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs`)
- API host → Repositories and unit of work: registers (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Program.cs`)
- Weather endpoint → Forecast model: returns (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyManagement.API/Controllers/WeatherForecastController.cs`)
- MVC user → Management controllers: requests
- MVC host → Web database context: configures (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Program.cs`)
- MVC host → Employee service: registers (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Web/Program.cs`)
- Employee service → Employee service contract: implements (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs`)
- Employee service → Repositories and unit of work: uses (evidence: `4_Asp.Net Core/ASP_NetCore_FinalProject/CompanyManagement/CompanyMangment.Infrastructure/Services/EmployeeService.cs`)
- Employee MVC controller → Employee repository: dispatches (evidence: `4_Asp.Net Core/FourthGroup_1/FourthGroup_1/Controllers/EmployeesController.cs`)
- Employee repository → MVC database context: queries (evidence: `4_Asp.Net Core/FourthGroup_1/FourthGroup_1/Repositories/Emoloyees/EmployeeRepository.cs`)
