Example #1
0
        public async Task When_GetCountries()
        {
            //Arrange
            using var context = new ERXDBContext(db);

            //Act
            var result = await questionnaireRepository.GetCountries();

            //Assert
            Assert.IsNotNull(result);
        }
 public QuestionnaireRepository(ERXDBContext _db, IConfiguration _configuration)
 {
     db            = _db;
     Configuration = _configuration;
 }
Example #3
0
 public AdditionalQuestionMappingRepository(ERXDBContext _db)
 {
     db = _db;
 }