Skip to content

CurrencyController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/Common/CurrencyController.cs (line 20)

Part of: Pams

Where it refuses work

  • CurrencyController stops the work with an early return when string.IsNullOrEmpty(fromCurrency) || string.IsNullOrEmpty(toCurrency).
  • CurrencyController stops the work with an early return when fromCurrency == 0 || toCurrency == 0.

When something fails

  • CurrencyController handles failure in 3 places: it turns it into a return value in all 3.

Relationships

  • MODULE_DECLARES → GetPricePercentage
  • IMPORTS → Currency
  • IMPORTS → BaseController
  • 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 → GetAll
  • IMPORTS → Person
  • IMPORTS → CompanyCurrency

Used by

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

Imported by (1)

  • InquiryControllerPams/API/Pams.API/Controllers/Sales/InquiryController.cs:48

calls by (5)

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