# StoreController

**Kind:** Controller

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

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

## Where it refuses work

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

## Relationships

- MODULE_DECLARES → `GetById`
- MODULE_DECLARES → `GetStoreLookupBySelectedBranches`
- MODULE_DECLARES → `GetAllStores`
- MODULE_DECLARES → `GetAllStoresFunnel`
- MODULE_DECLARES → `CreateStore`
- MODULE_DECLARES → `UpdateStore`
- MODULE_DECLARES → `DeleteStore`
- 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 → `StoreBindingModel`
- 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
