# ReferenceListController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/PM/ReferenceListController.cs` (line 9)

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

## Where it refuses work

- `ReferenceListController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 5 places.
- `ReferenceListController` stops the work with an early return when `isDeleted != Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly`, in 2 places.
- `ReferenceListController` stops the work with an early return when `!logic.IsFound(id)`.
- `ReferenceListController` stops the work with an early return when `!logic.IsFoundByJobId(jobId)`.
- `ReferenceListController` stops the work with an early return when `!logic.IsFoundBySerialId(serialId)`.
- `ReferenceListController` stops the work with an early return when `!logic.IsFound(model.Id)`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetBySalesJobId`
- MODULE_DECLARES → `GetBySerialId`
- MODULE_DECLARES → `GetOldManufacturers`
- MODULE_DECLARES → `GetPurchaseOrderNo`
- MODULE_DECLARES → `GetAllSerialNo`
- MODULE_DECLARES → `GetAllSerialNoFunnel`
- MODULE_DECLARES → `Create`
- MODULE_DECLARES → `Update`
- MODULE_DECLARES → `DeleteItem`
- MODULE_DECLARES → `DeleteSerial`
- MODULE_DECLARES → `CreateStatus`
- MODULE_DECLARES → `UpdateStatus`
- MODULE_DECLARES → `DeleteStatus`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetBySalesJobId`
- IMPORTS → `ReferenceListHeaderBindingModel`
- IMPORTS → `GetAllByProductId`
- IMPORTS → `GetAllByProductId`
- IMPORTS → `Create`
- IMPORTS → `Update`
- IMPORTS → `Delete`
- IMPORTS → `DeleteDto`
- IMPORTS → `ReferenceListDetailSerialStatusBindingModel`

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### calls by (1)

- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
