# EmployeeBonusController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/BookingTarget/EmployeeBonusController.cs` (line 11)

**Part of:** [Pams](subsystem-pams)

## Where it refuses work

- `EmployeeBonusController` stops the work with an early return when `!isFound`.
- `EmployeeBonusController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `GetEmployeeBonusCalculationSheetByYear`
- MODULE_DECLARES → `GetTeamsBonusByYear`
- MODULE_DECLARES → `GetEmployeesBonusForCurrentYear`
- MODULE_DECLARES → `SaveEmployeeBonusCalculationSheet`
- IMPORTS → `BaseController`
- IMPORTS → `Person`
- IMPORTS → `BonusCalculationSheetBindingModel`

## Used by

6 references from 6 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### calls by (6)

- `BookingTargetService` — `Frontend/src/app/services/common/booking-target.service.ts`:1
- `GenerateBouncesService` — `Frontend/src/app/services/configurations/generate-bounces.service.ts`:1
- `MRMCashFlowForecasted` — `Frontend/src/app/services/dashboard/dashboard-library.service.ts`:1
- `BookingTargetService` — `Pams/Web/Pams.Web/Client/app/services/common/booking-target.service.ts`:1
- `GenerateBouncesService` — `Pams/Web/Pams.Web/Client/app/services/configurations/generate-bounces.service.ts`:1
- `CachingWidgetData` — `Pams/Web/Pams.Web/Client/app/services/dashboard/dashboard-library.service.ts`:1
