Example #1
0
 public ApiResponse(Exception ex, int code)
 {
     Data  = new object[] { };
     Error = new ApiResponseError(ex, code);
 }
Example #2
0
 public ApiResponse(Exception ex)
 {
     Data  = new object[] { };
     Error = new ApiResponseError(ex, 500);
 }