public IActionResult GetTestById(int id)
        {
            var test = _testAppService.GetTestById(id);

            return(View(test));
        }
Exemplo n.º 2
0
        public IActionResult GetAllTests([FromRoute] int id)
        {
            var result = _testAppService.GetTestById(id);

            return(Ok(result));
        }