Esempio n. 1
0
        public QuestionRepositoryTests()
        {
            var context = new Context();

            repository = context.Container.GetInstance <IQuestionRepository>();

            AsyncHelpers.RunSync(() => repository.ClearCollection());
        }
Esempio n. 2
0
 public void Remove()
 {
     AsyncHelpers.RunSync(() => repository.ClearCollection());
 }
Esempio n. 3
0
 public async void TearDown()
 {
     await repository.ClearCollection();
 }