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.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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