protected override void Cleanup() { foreach (var clan in Clans) { _clanRepository.DeleteLogoAsync(clan.Id).GetAwaiter().GetResult(); Clans.Remove(clan); } }
public async Task DeleteLogoAsync(ClanId clanId) { await _clanRepository.DeleteLogoAsync(clanId); }