Esempio n. 1
0
        public virtual async Task <IActionResult> Get([FromRoute] int id)
        {
            var result = await CrudControllerService.GetAsync(id);

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

            return(Ok(result));
        }