# ExternalServiceController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Wrehouse/ExternalServiceController.cs` (line 9)

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

## Where it refuses work

- `ExternalServiceController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `ExternalServiceController` stops the work with an early return when `!logic.IsFound(id, CompanyID)`.
- `ExternalServiceController` stops the work with an early return when `model == null`.
- `ExternalServiceController` stops the work with an early return when `!logic.IsFound(model.Id, CompanyID)`.
- `ExternalServiceController` stops the work with an early return when `!isFound`.
- `ExternalServiceController` stops the work with an early return when `isDeleted == Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetProductLookupByStoreId`
- MODULE_DECLARES → `GetProductLoockupBySalesItemId`
- MODULE_DECLARES → `GetAllGoods`
- MODULE_DECLARES → `GetAllGoodsFunnel`
- MODULE_DECLARES → `AddOrder`
- MODULE_DECLARES → `UpdateOrder`
- MODULE_DECLARES → `DeleteOrder`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetById`
- IMPORTS → `GetProductLoockupBySalesItemId`
- IMPORTS → `ExternalServiceBindingModel`
- IMPORTS → `CreateOrder`
- IMPORTS → `UpdateOrder`
- IMPORTS → `DeleteOrder`
- 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
