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