Beispiel #1
0
 public PaginatedApiResponse(ApiResponseError error) : base(error)
 {
 }
Beispiel #2
0
 public ApiResponse(ApiResponseError error)
 {
     this.error = error;
 }
Beispiel #3
0
 public ApiResponse()
 {
     this.error = ApiResponseErrorType.OK.CreateResponseError();
 }
Beispiel #4
0
 public ApiResponse(ApiResponseErrorType errorType)
 {
     this.error = errorType.CreateResponseError();
 }
Beispiel #5
0
 public static ApiResponse CreateResponse(this ApiResponseError error) => new ApiResponse(error);