Subject 和SubjectVisit 软删除

This commit is contained in:
2022-05-06 09:08:42 +08:00
parent caab71f1a3
commit 62ed19ed26
4 changed files with 16 additions and 12 deletions
@@ -38,15 +38,13 @@ namespace IRaCIS.Core.API._PipelineExtensions.Serilog
else
{
await _next.Invoke(context);
var requestBodyPayload = await ReadRequestBody(context.Request);
//var requestBodyPayload = await ReadRequestBody(context.Request);
//using (LogContext.PushProperty("RequestBody", requestBodyPayload))
//{
// //await _next.Invoke()
// await _next.Invoke(context);
//}
using (LogContext.PushProperty("RequestBody", requestBodyPayload))
{
//await _next.Invoke()
await _next.Invoke(context);
}
}
//var request = context.Request;