ApiResultModelTFinalize Method

Seal the ApiResult with the final status code and payload

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public ApiResultModel<T> Finalize(
	StatusCode statusCode,
	T payload
)

Parameters

statusCode  StatusCode
Final statusCode of the call
payload  T
Message or object payload

Return Value

ApiResultModelT
Finalized ApiResult

See Also