public void updateSampleQuestion(answersLog a, int score)
        {
            var log = DB.answersLog.Where(l => l.id == a.id).Single();

            log.entities = score.ToString();
            DB.SaveChanges();
        }
 internal async void addAnswerLog(answersLog log)
 {
     try
     {
         DB.answersLog.Add(log);
         await DB.SaveChangesAsync();
     }
     catch (Exception ex)
     {
     }
 }