# MRQJobProductController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/PM/MRQJobProductController.cs` (line 9)

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

## Where it refuses work

- `MRQJobProductController` stops the work with an early return when `products.Count == 0`, in 4 places.
- `MRQJobProductController` stops the work with an early return when `isRejected == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 3 places.
- `MRQJobProductController` stops the work with an early return when `isActivated == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`, in 2 places.
- `MRQJobProductController` stops the work with an early return when `!new Pams.Business.Component.PM.MRQJobLogic().IsFound(id, CompanyID)`.
- `MRQJobProductController` stops the work with an early return when `model.Products.Count == 0`.
- `MRQJobProductController` stops the work with an early return when `!isFound`.

## Relationships

- MODULE_DECLARES → `GetPackageStageByJobId`
- MODULE_DECLARES → `UnDeliverOrderItems`
- MODULE_DECLARES → `AcceptItem`
- MODULE_DECLARES → `RejectMRQProducts`
- MODULE_DECLARES → `CancelMRQProducts`
- MODULE_DECLARES → `RegretMRQProducts`
- MODULE_DECLARES → `ReactivateProducts`
- MODULE_DECLARES → `ArchiveStuckProducts`
- IMPORTS → `BaseController`
- IMPORTS → `MRQJobOrderBindingModel`
- IMPORTS → `MRQJobProductBindingModel`
- IMPORTS → `RejectItemsDetailBindingModel`
- IMPORTS → `CancelItemsDetailBindingModel`
- IMPORTS → `RegretItemsDetailBindingModel`
- IMPORTS → `DeleteDto`

## 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
