# CostCalculationController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Sales/CostCalculationController.cs` (line 8)

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

## Where it refuses work

- `CostCalculationController` stops the work with an early return when `!isFound`, in 2 places.
- `CostCalculationController` stops the work with an early return when `isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.

## Relationships

- MODULE_DECLARES → `GetJobById`
- MODULE_DECLARES → `GetCostBySalesOfferId`
- MODULE_DECLARES → `GetCostBySalesOrderId`
- MODULE_DECLARES → `GetViewBySalesOfferId`
- MODULE_DECLARES → `GetViewBySalesOffer`
- MODULE_DECLARES → `GetViewBySalesOrder`
- MODULE_DECLARES → `GetUsersAllowedToDoPricing`
- MODULE_DECLARES → `CreateSheet`
- MODULE_DECLARES → `UpdateSheet`
- IMPORTS → `BaseController`
- IMPORTS → `GetById`
- IMPORTS → `GetById`

## 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
