Kind: Controller
Source: Pams/API/Pams.API/Controllers/Common/CompanyBranchContactInfoController.cs (line 15)
Part of: Pams
Where it refuses work
CompanyBranchContactInfoControllerstops the work with an early return when!ModelState.IsValid, in 4 places.CompanyBranchContactInfoControllerstops the work with an early return when!success, in 3 places.CompanyBranchContactInfoControllerstops the work with an early return when!ms.HasObject, in 2 places.CompanyBranchContactInfoControllerstops the work with an early return whenms.HasObject.
When something fails
CompanyBranchContactInfoControllerhandles failure in 6 places: it turns it into a return value in all 6.
Was this page helpful?