public async Task <IActionResult> Get(int id) { var stock = await _stockAppService.FindAsync(id); if (stock == null) { return(NotFound()); } return(Ok(stock)); }