public List <QuestionAnswersEntity> GetByQuestion(int questionId)
 {
     try
     {
         QuestionAnswerRepository repository = new QuestionAnswerRepository();
         return(repository.Get(x => x.IdQuestion == questionId).ToList());
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public QuestionAnswer QuestionAnswerGet(int id)
 {
     return questionAnswerRepository.Get(id);
 }