コード例 #1
0
        public ActionResult <AutorDTO> GetId(int id)
        {
            string user = getUser();

            logger.LogInformation("{0} Searching Autor with id = {1}", user, id);
            var autor = fundabiem.obtenerAutor(id);

            if (autor.Value == null)
            {
                return(NotFound());
            }
            return(autor);
        }