Skip to content

EmployeeTypesController

reference
3 min readUpdated

Kind: Controller

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

Part of: Pams

Where it refuses work

  • EmployeeTypesController stops the work with an early return when !success, in 3 places.
  • EmployeeTypesController stops the work with an early return when !ms.HasObject, in 2 places.
  • EmployeeTypesController stops the work with an early return when ms.HasObject.
  • EmployeeTypesController stops the work with an early return when c.Exists(CompanyID, model.EmployeeTypeID, model.Name).

When something fails

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

Relationships

  • MODULE_DECLARES → GetAll
  • MODULE_DECLARES → GetByID
  • MODULE_DECLARES → Insert
  • MODULE_DECLARES → Update
  • MODULE_DECLARES → Save
  • MODULE_DECLARES → Delete
  • 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 → EmployeeType
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → GetByID
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Insert
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Save
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Update
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete
  • IMPORTS → Delete

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.

calls by (6)

  • EmployeeServiceFrontend/src/app/services/person/employee.service.ts:1
  • EmployeeServicePams/Web/Pams.Web/Client/app/services/person/employee.service.ts:1
  • EmployeeServicePams/Web/Pams.WebApp/Client/app/services/person/employee.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