예제 #1
0
        public async Task RemoveSnapshot(string snapshotClientId)
        {
            var snapshot = await _snapshotRepository.GetSnapshots(snapshot => snapshot.ClientId == snapshotClientId).FirstAsync();

            _snapshotRepository.RemoveSnapshot(snapshot);
            await _snapshotRepository.SaveChangesAsync();
        }