Esempio n. 1
0
        public async Task <IActionResult> Get()
        {
            var result = await _categorieService.GetAllCategories();

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(result));
        }