public AnswerOptionEntity ToEntity(ProfessionalQualitiesDbContext dbContext)
        {
            var entity = dbContext.AnswerOptions
                         .SingleOrDefault(aoe => aoe.Formulation == Formulation);

            if (entity == null)
            {
                entity = new AnswerOptionEntity
                {
                    Formulation = Formulation
                };
                dbContext.AnswerOptions.Add(entity);
                dbContext.SaveChanges();
            }

            return(entity);
        }
 public AnswerOption(AnswerOptionEntity answerOptionEntity)
     : this(answerOptionEntity.Id, answerOptionEntity.Formulation)
 {
 }