# ClientProfileController

**Kind:** Controller

**Source:** `Pams/API/Pams.API/Controllers/PricingAndSubscription/ClientProfileController.cs` (line 8)

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

## Where it refuses work

- `ClientProfileController` stops the work with an early return when `!isSaved`, in 3 places.
- `ClientProfileController` stops the work with an early return when `!isfound`.
- `ClientProfileController` stops the work with an early return when `isSaved != Pams.Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly`.
- `ClientProfileController` stops the work with an early return when `client.Id == 0`.
- `ClientProfileController` stops the work with an early return when `!isFound`.
- `ClientProfileController` stops the work with an early return when `!client.CompanyId.HasValue`.

## Relationships

- MODULE_DECLARES → `GetClientProfileById`
- MODULE_DECLARES → `CheckDomainAvailability`
- MODULE_DECLARES → `CheckUserEmailAvailability`
- MODULE_DECLARES → `CheckAccountToken`
- MODULE_DECLARES → `GetClientLatestInvoice`
- MODULE_DECLARES → `GetClientInvoiceById`
- MODULE_DECLARES → `GetClientInvoices`
- MODULE_DECLARES → `RenewClientSubscription`
- MODULE_DECLARES → `CreateSubscriptionInvoice`
- MODULE_DECLARES → `InvoicePayment`
- MODULE_DECLARES → `CreateInvoiceAfterOnlinePayment`
- MODULE_DECLARES → `RegisterNewClient`
- MODULE_DECLARES → `SendEmailToConfirmNewAccount`
- MODULE_DECLARES → `ConfirmNewAccount`
- MODULE_DECLARES → `SendEmailToSalesTeamByNewAccount`
- MODULE_DECLARES → `SavePamsClient`
- MODULE_DECLARES → `UseDemoData`
- IMPORTS → `GetAllPlans`
- IMPORTS → `ClientNewInvoiceBindingModel`
- IMPORTS → `RegisterNewClientBindingModel`
- IMPORTS → `ClientContactPersonEmailConfirmationBindingModel`
- IMPORTS → `SubscripedClientBindingModel`
- IMPORTS → `SaveClient`

## Used by

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

### calls by (4)

- `DemoDataService` — `Frontend/src/app/components/configuration/demo-data/demo-data.service.ts`:1
- `DemoDataService` — `Pams/Web/Pams.Web/Client/app/components/configuration/demo-data/demo-data.service.ts`:1
- `AppSettings` — `Frontend/src/app/settings/app/app.settings.ts`:241
- `AppSettings` — `Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts`:126
