Beispiel #1
0
        public async Task <IActionResult> GetAll()
        {
            var results = await _quizManager.GetAllTopicsAync();

            if (results != null)
            {
                return(new OkObjectResult(results));
            }

            return(NotFound());
        }