Kind: Controller
Source: Pams/API/Pams.API/Controllers/Security/RoleController.cs (line 23)
Part of: Pams
Where it refuses work
RoleControllerstops the work with an early return whenisDublicate, in 2 places.RoleControllerstops the work with an early return whenmodel != null.RoleControllerstops the work with an early return when!RLogic.IsAllowedToAddRoleAsPerSubscription(CompanyID).RoleControllerstops the work with an early return whenNewRole == null.RoleControllerstops the work with an early return when!success.RoleControllerstops the work with an early return when!Rol.HasObject.
When something fails
RoleControllerhandles failure in 7 places: it turns it into a return value in all 7.
Relationships
- MODULE_DECLARES →
GetAll - MODULE_DECLARES →
GetSecurityAccessTypes - MODULE_DECLARES →
GetPages - MODULE_DECLARES →
GetByID - MODULE_DECLARES →
GetByBranchid - MODULE_DECLARES →
GetLookup - MODULE_DECLARES →
Insert - MODULE_DECLARES →
Update - MODULE_DECLARES →
Delete - MODULE_DECLARES →
CopyToBranch - MODULE_DECLARES →
DouplicateRole - IMPORTS →
Role - IMPORTS →
BaseController - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
RoleBindingModel - IMPORTS →
Person - IMPORTS →
SecurityAccessType - IMPORTS →
SecurityAccessTypeBindingModel - IMPORTS →
GetByID - IMPORTS →
GetByID - IMPORTS →
RolePermission - IMPORTS →
RolePermissionBindingModel - IMPORTS →
Insert - IMPORTS →
Insert - IMPORTS →
Update - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
PersonUser
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)
AppSettings—Frontend/src/app/settings/app/app.settings.ts:241AppSettings—Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126AppSettings—Pams/Web/Pams.WebApp/Client/app/settings/app/app.settings.ts:6
Was this page helpful?