Skip to content

RelatedToTypesController

reference
3 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Common/RelatedToTypesController.cs (line 12)

Part of: Pams

Where it refuses work

  • RelatedToTypesController stops the work with an early return when !ModelState.IsValid, in 4 places.
  • RelatedToTypesController stops the work with an early return when !success, in 3 places.
  • RelatedToTypesController stops the work with an early return when !ms.HasObject, in 2 places.
  • RelatedToTypesController stops the work with an early return when ms.HasObject.

When something fails

  • RelatedToTypesController handles failure in 6 places: it turns it into a return value in all 6.

Relationships

  • MODULE_DECLARES → GetAll
  • MODULE_DECLARES → GetByID
  • MODULE_DECLARES → Insert
  • MODULE_DECLARES → Update
  • MODULE_DECLARES → Save
  • MODULE_DECLARES → Delete
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → RelatedToType
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete

Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

calls by (3)

  • AppSettingsFrontend/src/app/settings/app/app.settings.ts:241
  • AppSettingsPams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126
  • AppSettingsPams/Web/Pams.WebApp/Client/app/settings/app/app.settings.ts:6

Was this page helpful?

Download as PDF