Kind: Controller
Source: Pams/API/Pams.API/Controllers/DashBoard/ReportCreatorController.cs (line 11)
Part of: Pams
Where it refuses work
ReportCreatorControllerstops the work with an early return whenisSaved != Business.Entity.EnumNewSales.EnumReturnMessage.SavedSuccessfuly, in 3 places.ReportCreatorControllerstops the work with an early return when!domain.IsAdminReportFound(CompanyID, id).ReportCreatorControllerstops the work with an early return when!domain.IsUserCustomReportFound(CompanyID, userId).ReportCreatorControllerstops the work with an early return whenuserId != PersonUserID.ReportCreatorControllerstops the work with an early return when!domain.IsUserCustomReportFound(CompanyID, id).ReportCreatorControllerstops the work with an early return when!domain.IsAdminReportFound(CompanyID, model.Id).
Relationships
- MODULE_DECLARES →
GetReportPreparedByAdmin - MODULE_DECLARES →
GetReportPreparedByAdminById - MODULE_DECLARES →
GetReportPreparedByUser - MODULE_DECLARES →
GetReportByUser - MODULE_DECLARES →
GetReportPreparedByUserById - MODULE_DECLARES →
SaveReportPreparedByAdmin - MODULE_DECLARES →
SaveDashboardPreparedByUser - MODULE_DECLARES →
ChangeActiveReportPreparedByUser - MODULE_DECLARES →
ChangeActiveReportPreparedByAdminForUser - MODULE_DECLARES →
SaveLatestModifications - IMPORTS →
BaseController - IMPORTS →
RoleUserDashboardBindingModel - IMPORTS →
SaveDashboardPreparedByUser - IMPORTS →
SaveLatestModifications - IMPORTS →
DashboarModificationsdBindingModel
Was this page helpful?