public void UpdatePersonalQuality(PersonalQualityModel model)
 {
     if (model.Id == null)
     {
         return;
     }
     if (_personalQualityRepository.Has(model.Id.Value))
     {
         var entity = model.ToEntity();
         _personalQualityRepository.Update(entity);
     }
 }
 public void AddPersonalQuality(PersonalQualityModel model)
 {
     _personalQualityRepository.Add(model.ToEntity());
 }