Esempio n. 1
0
        public async Task <IActionResult> Get(int id)
        {
            var stock = await _stockAppService.FindAsync(id);

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

            return(Ok(stock));
        }