Kind: Controller
Source: Pams/API/Pams.API/Controllers/Sales/DeliveryTermController.cs (line 19)
Part of: Pams
Where it refuses work
DeliveryTermControllerstops the work with an early return whensuccess, in 2 places.DeliveryTermControllerstops the work with an early return when!ModelState.IsValid.DeliveryTermControllerstops the work with an early return whenlogic.Exists(CompanyID, model.DeliveryTermID, model.Name).DeliveryTermControllerstops the work with an early return when!logic.IsFound(CompanyID, ID).DeliveryTermControllerstops the work with an early return whensourceElements == null || sourceElements.ImportModels == null || !sourceElements.ImportMo….DeliveryTermControllerstops the work with an early return whendtArr == null || !dtArr.Any().
When something fails
DeliveryTermControllerhandles failure in 1 place: it turns it into a return value in all 1.
Relationships
- MODULE_DECLARES →
GetLookup - MODULE_DECLARES →
Get - MODULE_DECLARES →
GetAll - MODULE_DECLARES →
Save - MODULE_DECLARES →
Delete - MODULE_DECLARES →
GetSheet - MODULE_DECLARES →
import - IMPORTS →
DeliveryTerm - IMPORTS →
BaseController - IMPORTS →
GetLookup - IMPORTS →
GetById - IMPORTS →
GetById - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
DeliveryTermBindingModel - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
DeleteDto - IMPORTS →
Import - IMPORTS →
GetSheet - IMPORTS →
GetSheet - IMPORTS →
CacheClearFilter - IMPORTS →
PostedFile - IMPORTS →
DeliveryTermImportModelList - IMPORTS →
Create
Used by
4 references from 4 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
calls by (4)
DeliveryTermService—Pams/Web/Pams.WebApp/Client/app/services/common/delivery-term.service.ts:1AppSettings—Frontend/src/app/settings/app/app.settings.ts:241AppSettings—Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126AppSettings—Pams/Web/Pams.WebApp/Client/app/settings/app/app.settings.ts:6
Was this page helpful?