public HttpErrorResult(ErrorMessage error) : base(error) {
     StatusCode = StatusCodes.Status500InternalServerError;
 }
 public HttpWarningResult(ErrorMessage message) : base(message) {
     StatusCode = StatusCodes.Status200OK;
 }