private void BanRemoved(object sender, BanChangedEventArgs e) { this.banRepository.DeleteBan(this.BanToBanRecord(e.Ban)); }
private void BanAdded(object sender, BanChangedEventArgs e) { this.banRepository.InsertBans(new[] { this.BanToBanRecord(e.Ban) }); }