Datenerfassung;
This commit is contained in:
1 parent
818377c0a8
commit
fe11b715a6
3 files changed
+201
-1
No files matched your search
@@ -97,4 +97,14 @@ public class WorkspaceService
|
||||
|
||||
return workspace;
|
||||
}
|
||||
|
||||
public async Task SaveFaktAsync(AnalysisFakt fakt)
|
||||
{
|
||||
// Unsere elegante Hilfsmethode von vorhin füllt OwnerId, CreatedBy und CreatedAt!
|
||||
await EnrichWithAuditDataAsync(fakt);
|
||||
|
||||
using var session = _store.OpenAsyncSession();
|
||||
await session.StoreAsync(fakt);
|
||||
await session.SaveChangesAsync();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user