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