예제 #1
0
        public async Task <ActionResult> GetAllTest()
        {
            var tests = await _testRepository.GetAllTestsAsync();

            return(Ok(tests));
        }
예제 #2
0
        public async Task GetAllTestEmpty()
        {
            var list = await _testRepository.GetAllTestsAsync();

            Assert.Equal(0, list.Count);
        }