Skip to content

SerialCombinationsController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Common/SerialCombinationsController.cs (line 15)

Part of: Pams

Where it refuses work

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

When something fails

  • SerialCombinationsController handles failure in 5 places: it turns it into a return value in all 5.

Relationships

  • MODULE_DECLARES → GetAll
  • MODULE_DECLARES → GetNextSerial
  • MODULE_DECLARES → GetBySerialStatusId
  • MODULE_DECLARES → GetByID
  • MODULE_DECLARES → Insert
  • MODULE_DECLARES → Update
  • MODULE_DECLARES → Save
  • MODULE_DECLARES → Delete
  • IMPORTS → GetAll
  • IMPORTS → SerialCombination
  • IMPORTS → SerialCombinationBindingModel
  • IMPORTS → GetByID
  • IMPORTS → Insert
  • IMPORTS → Save
  • IMPORTS → Update
  • IMPORTS → Delete

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)

  • SerialCombinationsServicePams/Web/Pams.WebApp/Client/app/services/common/serial-combinations.service.ts:1
  • 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