常用方法
常用方法
常用方法
常用方法
public async Task TakeSnapshotAsync <T>(Guid aggregateId) where T : IAggregateRoot { var aggregate = await GetByIdAsync <T>(aggregateId); await _snapshotService.TakeAndSaveAsync(aggregate); }