Kind: Controller
Source: Pams/API/Pams.API/Controllers/Person/PersonAddressController.cs (line 21)
Part of: Pams
Where it refuses work
PersonAddressControllerstops the work with an early return when!ModelState.IsValid, in 2 places.PersonAddressControllerstops the work with an early return when!EnAdd.Save(), in 2 places.PersonAddressControllerstops the work with an early return when!EnPA.Save().
When something fails
PersonAddressControllerhandles failure in 8 places: it turns it into a return value in all 8.
Relationships
- MODULE_DECLARES →
GetByPersonID - MODULE_DECLARES →
insert - MODULE_DECLARES →
update - MODULE_DECLARES →
delete - IMPORTS →
Person - IMPORTS →
PersonAddress - IMPORTS →
BaseController - IMPORTS →
Employee - IMPORTS →
GetByPersonID - IMPORTS →
GetByPersonID - IMPORTS →
Address - IMPORTS →
City - IMPORTS →
Save
Was this page helpful?