private static IActionResult OnDomainObjectVersionException(DomainObjectVersionException ex) { return(new ObjectResult(new ErrorDto { Message = ex.Message }) { StatusCode = 412 }); }
private static IActionResult OnDomainObjectVersionException(DomainObjectVersionException ex) { return(ErrorResult(412, new ErrorDto { Message = ex.Message })); }
private static ErrorDto OnDomainObjectVersionException(DomainObjectVersionException ex) { return(new ErrorDto { StatusCode = 412, Message = ex.Message }); }