private static QualityDefinition WithWeight(QualityDefinition definition)
        {
            definition.Weight = Quality.DefaultQualityDefinitions.Single(d => d.Quality == definition.Quality).Weight;

            return(definition);
        }
        public void Update(QualityDefinition qualityDefinition)
        {
            _qualityDefinitionRepository.Update(qualityDefinition);

            _cache.Clear();
        }
        public void Update(QualityDefinition qualityDefinition)
        {
            _repo.Update(qualityDefinition);

            _cache.Clear();
        }
 public void Update(QualityDefinition qualityDefinition)
 {
     _qualityDefinitionRepository.Update(qualityDefinition);
 }