예제 #1
0
 public override void Handle(IBulkDemographicDeleted command)
 {
     _demographicRepository.DeleteRangeByExternalRefs(command.Data.Select(c => c.ExternalRef));
     _demographicRepository.SaveChanges();
 }