Esempio n. 1
0
        public async Task <IActionResult> GetAllAsync()
        {
            var results = await coursesProvider.GetAllasAsync();

            if (results != null)
            {
                return(Ok(results));
            }

            return(NotFound());
        }