# MyDeskController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/DashBoard/MyDeskController.cs` (line 12)

**Part of:** [Pams](subsystem-pams)

## Where it refuses work

- `MyDeskController` stops the work with an early return when `filters.BranchIdList == null || filters.BranchIdList.Count == 0 || filters.UserId <= 0 ||…`, in 5 places.
- `MyDeskController` stops the work with an early return when `item == null`, in 2 places.

## Relationships

- MODULE_DECLARES → `GetParentAttributes`
- MODULE_DECLARES → `GetChildAttributes`
- MODULE_DECLARES → `GetCurrentJobs`
- MODULE_DECLARES → `GetSalesInvoices`
- MODULE_DECLARES → `GetCommissionInvoices`
- MODULE_DECLARES → `GetPrincipalInvoices`
- MODULE_DECLARES → `GetLGs`
- IMPORTS → `BaseController`
- IMPORTS → `DashboardFilterBindingModel`
- IMPORTS → `GetCurrentJobs`
- IMPORTS → `PipelineDataBindingModel`
- IMPORTS → `CurrentJobTypesBindingModel`

## Used by

2 references from 2 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### calls by (2)

- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
- `AppSettings` — `Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts`:126
