# PaymentMilestoneController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Sales/PaymentMilestoneController.cs` (line 13)

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

## Where it refuses work

- `PaymentMilestoneController` stops the work with an early return when `isDeleted == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 3 places.
- `PaymentMilestoneController` stops the work with an early return when `models.Count == 0`, in 2 places.
- `PaymentMilestoneController` stops the work with an early return when `models == null`, in 2 places.

## Relationships

- MODULE_DECLARES → `GetByOfferId`
- MODULE_DECLARES → `GetByOrderId`
- MODULE_DECLARES → `Create`
- MODULE_DECLARES → `Update`
- MODULE_DECLARES → `DeleteById`
- MODULE_DECLARES → `DeleteByOfferId`
- MODULE_DECLARES → `DeleteByOrderId`
- IMPORTS → `BaseController`
- IMPORTS → `GetByOfferId`
- IMPORTS → `SalesPaymentMilestoneBindingModel`
- IMPORTS → `GetByOrderId`
- IMPORTS → `Update`
- IMPORTS → `Update`
- IMPORTS → `Update`
