示例#1
0
 private static void SetStatusResponse(IStatusResponse statusResponse,
                                       int statusCode, StatusMessage statusMsg, List <StatusDetail> statusDetails = null)
 {
     statusResponse.StatusCode    = statusCode;
     statusResponse.StatusDesc    = statusMsg.GetValue();
     statusResponse.StatusDetails = statusDetails;
 }