# SalesJobGuaranteeController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Sales/SalesJobGuaranteeController.cs` (line 17)

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

## Where it refuses work

- `SalesJobGuaranteeController` stops the work with an early return when `!entity.HasObject`, in 2 places.
- `SalesJobGuaranteeController` stops the work with an early return when `isEntitySaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `GetByInquiryId`
- MODULE_DECLARES → `GetByOfferId`
- MODULE_DECLARES → `GetByOrderId`
- MODULE_DECLARES → `CreateSalesJob`
- MODULE_DECLARES → `UpdateSalesJob`
- IMPORTS → `BaseController`
- IMPORTS → `GetByOfferId`
- IMPORTS → `GetByOrderId`
- IMPORTS → `CreateSalesJob`
- IMPORTS → `SalesJobGuaranteeBindingModel`
- IMPORTS → `SalesJobGuarantee`
- IMPORTS → `UpdateSalesJob`
