# ProductTypeGroupController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Management/ProductTypeGroupController.cs` (line 10)

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

## Where it refuses work

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

## Relationships

- MODULE_DECLARES → `GetGroupById`
- MODULE_DECLARES → `GetGroupsWithDetails`
- MODULE_DECLARES → `GetProductTypeGroupsForSelectedBranches`
- MODULE_DECLARES → `GetProductTypeGroupsTargetByYear`
- MODULE_DECLARES → `SaveGroup`
- MODULE_DECLARES → `DeleteGroup`
- IMPORTS → `BaseController`
- IMPORTS → `ProductTypeGroupBindingModel`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Delete`
- IMPORTS → `DeleteDto`

## Used by

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

### calls by (2)

- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
- `AppSettings` — `Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts`:126
