Beispiel #1
0
        public IHttpActionResult AllBooks()
        {
            var allBookEntities = _library.GetAllBooks();

            if (allBookEntities == null)
            {
                return(NotFound());
            }
            return(Ok(allBookEntities));
        }