public virtual void DeleteProfile(Guid id) { try { SpeakerVerificationRepository.DeleteProfile(id); } catch (Exception ex) { Logger.Error("SpeakerVerificationService.DeleteProfile failed", this, ex); } }
public virtual void DeleteProfile(Guid id) { PolicyService.ExecuteRetryAndCapture400Errors( "SpeakerVerificationService.DeleteProfile", ApiKeys.SpeakerRecognitionRetryInSeconds, () => { SpeakerVerificationRepository.DeleteProfile(id); return(true); }, false); }