Esempio n. 1
0
        public void ScenariosGetAll()
        {
            var res = _scenarioRepository.Get().Result.ToList();

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