public IHttpActionResult GetAuthors() { var authors = _context.Authors.ToList(); if (authors == null) { return(NotFound()); } var authorDtos = ConversionUtility.AuthorsToAuthorDtos(authors); return(Ok(authorDtos)); }