public BaseResponse <TData> WithStatusCode(ResponseStatusCodes code) { StatusCode = code; IsStatusCodeOverriden = true; return(this); }
public ResponseMessage(ResponseStatusCodes responseCode, string message, T returnedObject) { this.responseCode = responseCode; this.message = message; this.returnedObject = returnedObject; }
public ResponseMessage(ResponseStatusCodes responseCode, string message) { this.responseCode = responseCode; this.message = message; }
public ResponseStatus(ResponseStatusCodes statusCode, string errorMessage = null, T value = default) { this.StatusCode = statusCode; this.ErrorMessage = errorMessage; this.Value = value; }