示例#1
0
 public ResponseDto()
 {
     Success      = false;
     ResponseType = ResponseType.Error;
     Validation   = new ResponseValidationDto();
     Message      = string.Empty;
     MethodName   = string.Empty;
 }
示例#2
0
 public void SetError(long errorId, string message, string methodName, ResponseType responseType, ResponseValidationDto responseValidationDto)
 {
     Success      = false;
     ErrorId      = errorId;
     ResponseType = responseType;
     Message      = message;
     MethodName   = methodName;
     Validation   = responseValidationDto;
 }