Documente Academic
Documente Profesional
Documente Cultură
DTZMobili
- The Above method is available to the DTZ Mobility clients as a REST API method
. It's secured since the workordercontroller ,which extens the apiController its
elf is secured using the attribute [DtzAuthorize]
- [DtzAuthorize] is a Custom annotation that extends from the System.Web.Http.Au
thorizeAttribute class which makes sure all the HTTP Rest based requests
to the WorkOrderController are Authorized.
1). GetWorkOrderImages (int workOrderId) [ Work Order Controller --> DTZMobilit
y.API.Controllers.Api.WorkOrderController ]
- This is the method called by the GetImagesByWo method in turn to do the actual
querying of the database.
2).
- This is the method called by the GetWorkOrderImages method [ Work Order Contro
ller --> DTZMobility.API.Controllers.Api.WorkOrderController ]