# SalesFollowerController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/Sales/SalesFollowerController.cs` (line 13)

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

## Where it refuses work

- `SalesFollowerController` stops the work with an early return when `!entity.HasObject`, in 3 places.
- `SalesFollowerController` stops the work with an early return when `isEntitySaved == Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `SalesFollowerController` stops the work with an early return when `isEntitySaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `SalesFollowerController` stops the work with an early return when `isDeleted == Business.Entity.EnumNewSales.EnumReturnMessage.DeletedSuccessfuly`.

## Relationships

- MODULE_DECLARES → `GetFollowersByJobId`
- MODULE_DECLARES → `GetFollowedJobsByUserId`
- MODULE_DECLARES → `CreateFollower`
- MODULE_DECLARES → `UpdateFollower`
- MODULE_DECLARES → `DeleteSalesFollower`
- IMPORTS → `BaseController`
- IMPORTS → `SalesFollowerBindingModel`
- IMPORTS → `SalesFollower`

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