Kind: Controller
Source: Pams/API/Pams.API/Controllers/DashBoard/DashboardCreatorController.cs (line 11)
Part of: Pams
Where it refuses work
DashboardCreatorControllerstops the work with an early return whenisSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 3 places.DashboardCreatorControllerstops the work with an early return when!domain.IsAdminDashboardFound(CompanyID, id).DashboardCreatorControllerstops the work with an early return when!domain.IsUserCustomDashboardFound(CompanyID, userId).DashboardCreatorControllerstops the work with an early return whenuserId != PersonUserID.DashboardCreatorControllerstops the work with an early return when!domain.IsUserCustomDashboardFound(CompanyID, id).DashboardCreatorControllerstops the work with an early return when!domain.IsAdminDashboardFound(CompanyID, model.Id).
Relationships
- MODULE_DECLARES →
GetDashboardPreparedByAdmin - MODULE_DECLARES →
GetDashboardPreparedByAdminById - MODULE_DECLARES →
GetDashboardPreparedByUser - MODULE_DECLARES →
GetDashboardByUser - MODULE_DECLARES →
GetDashboardPreparedByUserById - MODULE_DECLARES →
SaveDashboardPreparedByAdmin - MODULE_DECLARES →
SaveDashboardPreparedByUser - MODULE_DECLARES →
ChangeActiveDashboardPreparedByUser - MODULE_DECLARES →
ChangeActiveDashboardPreparedByAdminForUser - MODULE_DECLARES →
SaveLatestModifications - IMPORTS →
BaseController - IMPORTS →
RoleUserDashboardBindingModel - IMPORTS →
SaveDashboardPreparedByUser - IMPORTS →
SaveLatestModifications - IMPORTS →
DashboarModificationsdBindingModel
Was this page helpful?