Kind: Controller
Source: Pams/API/Pams.API/Controllers/Tasks/TaskController.cs (line 17)
Part of: Pams
Where it refuses work
TaskControllerstops the work with an early return whenitem == null, in 4 places.TaskControllerstops the work with an early return whenitem.TaskID == 0, in 2 places.TaskControllerstops the work with an early return when!domain.IsFound(model.ID).TaskControllerstops the work with an early return when!isAllowed.TaskControllerstops the work with an early return whenisDeleted.TaskControllerstops the work with an early return whenmodel == null.
When something fails
TaskControllerhandles failure in 3 places: it turns it into a return value in all 3.
Relationships
- MODULE_DECLARES →
GetByID - MODULE_DECLARES →
Delete - MODULE_DECLARES →
Save - MODULE_DECLARES →
RejectTask - MODULE_DECLARES →
Follow - MODULE_DECLARES →
GetFollowTypes - MODULE_DECLARES →
GetCalendar - MODULE_DECLARES →
GetOutlookCalendar - MODULE_DECLARES →
ConfirmOutlookCalendarUpToDate - MODULE_DECLARES →
CheckOutlookCalendar - MODULE_DECLARES →
GetAll - MODULE_DECLARES →
GetView - MODULE_DECLARES →
GetTaskView - MODULE_DECLARES →
GetTaskViewFunnel - MODULE_DECLARES →
SearchTasks - MODULE_DECLARES →
UpdateTaskStatus - MODULE_DECLARES →
Getchilds - IMPORTS →
Task - IMPORTS →
BaseController - IMPORTS →
GetByID - IMPORTS →
GetByID - IMPORTS →
GetByID - IMPORTS →
GetByID - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
Delete - IMPORTS →
DeleteDto - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
Save - IMPORTS →
TaskBindingModel - IMPORTS →
SignalRModel - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
GetAll - IMPORTS →
TaskViewBindingModel - IMPORTS →
TaskView - IMPORTS →
UpdateTaskStatus
Used by
9 references from 9 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.
calls by (9)
NotficationsService—Frontend/src/app/components/notifications/notfications.service.ts:1Calendar—Outlook_plugin/src/calendar/calendar.service.ts:1NotficationsService—Pams/Web/Pams.Web/Client/app/components/notifications/notfications.service.ts:1AppSettings—Frontend/src/app/settings/app/app.settings.ts:241matchingPamsCalendarWithOutlookCalendar—Outlook_plugin/src/calendar/calendar.service.backup.ts:232matchingPamsCalendarWithOutlookCalendar—Outlook_plugin/src/calendar/calendar.service.optimized.ts:267matchingPamsCalendarWithOutlookCalendar—Outlook_plugin/src/calendar/calendar.service.pre-optimization.backup.ts:267AppSettings—Pams/Web/Pams.Web/Client/app/settings/app/app.settings.ts:126
…and 1 more.
Was this page helpful?