Exemple #1
0
        public async Task <IActionResult> Get(Guid id)
        {
            var book = await _bookElasticService.GetBook(id);

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

            return(Ok(book));
        }