Skip to content

MandatoryFieldController

reference
1 min readUpdated

Kind: Controller

Source: Pams/API/Pams.API/Controllers/MandatoryField/MandatoryFieldController.cs (line 14)

Part of: Pams

Where it refuses work

  • MandatoryFieldController stops the work with an early return when moduleId == (int)Business.Entity.EnumNewSales.EnumMandatoryFieldsSubModules.Sales || modu….
  • MandatoryFieldController stops the work with an early return when model.CompanyId != CompanyID.
  • MandatoryFieldController stops the work with an early return when model.MandatoryFields == null || model.MandatoryFields.Count == 0.
  • MandatoryFieldController stops the work with an early return when isSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly.

Relationships

  • MODULE_DECLARES → GetLookupAppModules
  • MODULE_DECLARES → GetLookupAppProperties
  • MODULE_DECLARES → GetMandatoryProperties
  • MODULE_DECLARES → GetLookupAppSubModules
  • MODULE_DECLARES → GetMandatoryFiledByModule
  • MODULE_DECLARES → SavePageMandatoryProperties
  • IMPORTS → BaseController
  • IMPORTS → CompanyMandatoryFieldHeaderBindingModel

Was this page helpful?

Download as PDF