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