public async Task <ActionResult <Author> > GetAuthors() { var authors = await _librarymanager.GetAuthors(); if (authors == null) { return(NotFound()); } return(Ok(authors)); }
public async Task <ActionResult <Author> > GetAuthors() { var authors = await _librarymanager.GetAuthors(); if (authors == null) { return(NotFound()); } return(Ok(authors)); }