Enhance AuditService: add logging for audit insert operations
All checks were successful
Build And Push Dev Docker Image / docker (push) Successful in 2m21s

This commit is contained in:
a.beging@eas-solutions.de
2026-05-06 15:15:09 +02:00
parent 231e29f877
commit 78135a9f6d

View File

@@ -44,7 +44,11 @@ namespace FoodsharingSiegen.Server.Data.Service
Data1 = data1,
Data2 = data2
};
Console.WriteLine();
Console.WriteLine(DateTime.Now.ToString() + " " + CurrentUser?.Name + " " + AuditHelper.CreateText(audit));
Console.WriteLine();
Context.Audits?.Add(audit);
var saveR = await Context.SaveChangesAsync();