# ProductTypeTargetController

**Kind:** Controller

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

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

## Where it refuses work

- `ProductTypeTargetController` stops the work with an early return when `!isFound`, in 4 places.
- `ProductTypeTargetController` stops the work with an early return when `isSaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `ProductTypeTargetController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `ProductTypeTargetController` stops the work with an early return when `isFound`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetProductTypesTargetByYear`
- MODULE_DECLARES → `SaveProductTypeBookingTarget`
- MODULE_DECLARES → `SaveProductTypeSalesTarget`
- MODULE_DECLARES → `SaveProductTypeBudget`
- MODULE_DECLARES → `CreateProductTypeTargetForNewYear`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetProductTypesTargetByYear`
- IMPORTS → `GetProductTypesTargetByYear`
- IMPORTS → `ProductTypeTarget`

## Used by

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

### calls by (3)

- `BookingTargetService` — `Frontend/src/app/services/common/booking-target.service.ts`:1
- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
- `AppSettings` — `Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts`:126
