Exemplo n.º 1
0
 private static Task WriteDevelopmentResponse(HttpContext httpContext, Func <Task> next) =>
 ExceptionResponseHelper.HandleException(httpContext, true);
Exemplo n.º 2
0
 private static Task WriteProductionResponse(HttpContext httpContext, Func <Task> next) =>
 ExceptionResponseHelper.HandleException(httpContext, false);