# FinanceTotalSalesController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Management/FinanceTotalSalesController.cs` (line 11)

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

## Where it refuses work

- `FinanceTotalSalesController` stops the work with an early return when `logic.IsFound(CompanyID, ID)`.
- `FinanceTotalSalesController` stops the work with an early return when `logic.IsExist(CompanyID, model.ItemDescription, model.Id)`.
- `FinanceTotalSalesController` stops the work with an early return when `success == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `FinanceTotalSalesController` stops the work with an early return when `!logic.IsFound(CompanyID, ID)`.
- `FinanceTotalSalesController` stops the work with an early return when `success == Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `Get`
- MODULE_DECLARES → `GetAll`
- MODULE_DECLARES → `GetLookupPmStatusByCompanyId`
- MODULE_DECLARES → `Save`
- MODULE_DECLARES → `Delete`
- IMPORTS → `BaseController`
- IMPORTS → `Save`
- IMPORTS → `FinanceTotalSalesBindingModel`
- IMPORTS → `DeleteDto`
