protected override void ExecuteCmdlet() { base.ExecuteCmdlet(); ExecuteAction(Name, delegate { _repository.DeleteEntity(Name); }); }