예제 #1
0
        public void ScenariosGetAll()
        {
            var res = _scenarioRepository.Get().Result.ToList();

            Assert.NotNull(res);
            Assert.AreEqual(2, res.Count);
        }
예제 #2
0
 public async Task <IActionResult> Get()
 {
     return(Ok(await _scenarioRepository.Get()));
 }