예제 #1
0
 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
     }));
 }
예제 #3
0
 private static ErrorDto OnDomainObjectVersionException(DomainObjectVersionException ex)
 {
     return(new ErrorDto {
         StatusCode = 412, Message = ex.Message
     });
 }