Example #1
0
        public QuestionRepositoryTests()
        {
            var context = new Context();

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

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