# SalesPotentialStatusController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Sales/SalesPotentialStatusController.cs` (line 13)

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

## Where it refuses work

- `SalesPotentialStatusController` stops the work with an early return when `!logic.IsFound(CompanyID, id)`, in 2 places.
- `SalesPotentialStatusController` stops the work with an early return when `success`, in 2 places.
- `SalesPotentialStatusController` stops the work with an early return when `!ModelState.IsValid`.
- `SalesPotentialStatusController` stops the work with an early return when `logic.Exists(CompanyID, model.PotentialStatusId, model.Name)`.

## Relationships

- MODULE_DECLARES → `GetAll`
- MODULE_DECLARES → `Get`
- MODULE_DECLARES → `GetLookupPotentialStatusByCompanyId`
- MODULE_DECLARES → `Save`
- MODULE_DECLARES → `Delete`
- IMPORTS → `BaseController`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetAll`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `Save`
- IMPORTS → `SalesPotentialStatusBindingModel`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- IMPORTS → `Delete`
- 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
