Skip to content

CompanyBranchSettingController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Organization/CompanyBranchSettingController.cs (line 24)

Part of: Pams

Where it refuses work

  • CompanyBranchSettingController stops the work with an early return when companyBranchSett == null, in 3 places.
  • CompanyBranchSettingController stops the work with an early return when Currency == null.
  • CompanyBranchSettingController stops the work with an early return when !ModelState.IsValid.
  • CompanyBranchSettingController stops the work with an early return when !success.

When something fails

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

Relationships

  • MODULE_DECLARES → Update
  • IMPORTS → CompanyBranchSetting
  • IMPORTS → BaseController
  • IMPORTS → Company
  • IMPORTS → CompanyBranchSettingBindingModel
  • IMPORTS → CompanyCurrencyBindingModel
  • IMPORTS → CompanyCurrency
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → CompanyBranch
  • IMPORTS → GetAll
  • IMPORTS → GetAll
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save

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