# StoreAreaController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Wrehouse/StoreAreaController.cs` (line 10)

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

## Where it refuses work

- `StoreAreaController` stops the work with an early return when `!isFound`, in 2 places.
- `StoreAreaController` stops the work with an early return when `!logic.IsFoundInCompany(id, CompanyID)`.
- `StoreAreaController` stops the work with an early return when `model == null`.
- `StoreAreaController` stops the work with an early return when `!storeLogic.IsFoundInCompany(storeId, CompanyID)`.
- `StoreAreaController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `StoreAreaController` stops the work with an early return when `isSaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetLookupByStoreId`
- MODULE_DECLARES → `CreateStoreArea`
- MODULE_DECLARES → `UpdateStoreArea`
- MODULE_DECLARES → `DeleteStoreArea`
- 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 → `StoreAreaBindingModel`
- 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
