/// <summary> /// Configures a phrase /// </summary> /// <param name="id">The phrase ID</param> /// <param name="configuration">The phrase configuration</param> public void ConfigurePhrase ( Guid id, RegisteredPhraseConfiguration configuration ) { var phrase = _phraseRepository.GetPhrase(id); phrase.Configure(configuration); _phraseRepository.UpdatePhrase(phrase); _unitOfWork.SaveChanges(); RegisteredPhraseTranslatorFactory.ClearCache(); }