public void Dispose()
 {
     if (context != null)
     {
         context.Dispose();
         context = null;
     }
     GC.SuppressFinalize(this);
 }
 public AnswersRepository()
 {
     context = new TestAppDbContext();
 }
 public AnswersRepository(TestAppDbContext dbContext)
 {
     context = dbContext;
 }
 public AnswersRepository(string connectionName)
 {
     context = new TestAppDbContext(connectionName);
 }