Example #1
0
 public ResultDto(EnumResultCode code, object data)
 {
     Code    = (int)code;
     Message = code.ToMessage();
     Data    = data;
 }
Example #2
0
 public ResultDto(EnumResultCode code)
 {
     Code    = (int)code;
     Message = code.ToMessage();
     Data    = null;
 }