Datenerfassung;
This commit is contained in:
@@ -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