Skip to content

CompanyBranchContactInfoController

reference
1 min readUpdated

Kind: Controller

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

Part of: Pams

Where it refuses work

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

When something fails

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

Was this page helpful?

Download as PDF