Skip to content

ItemController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Sales/ItemController.cs (line 18)

Part of: Pams

Where it refuses work

  • ItemController stops the work with an early return when !ModelState.IsValid, in 2 places.
  • ItemController stops the work with an early return when !success, in 2 places.

When something fails

  • ItemController handles failure in 8 places: it turns it into a return value in all 8.

Relationships

  • MODULE_DECLARES → GetByID
  • MODULE_DECLARES → GetByCompanynyBranchID
  • MODULE_DECLARES → insert
  • MODULE_DECLARES → update
  • IMPORTS → BaseController
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → Item
  • IMPORTS → ItemBindingModel
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save

Used by

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

calls by (5)

  • BillOfMaterialsServiceFrontend/src/app/components/bill-of-materials/bill-of-materials.service.ts:1
  • BillOfMaterialsServicePams/Web/Pams.Web/Client/app/components/bill-of-materials/bill-of-materials.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