public async Task <ActionResult> GetAllTest() { var tests = await _testRepository.GetAllTestsAsync(); return(Ok(tests)); }
public async Task GetAllTestEmpty() { var list = await _testRepository.GetAllTestsAsync(); Assert.Equal(0, list.Count); }