public async Task <IActionResult> Create(CreateAuthorDto newAuthor) { var author = await _authorService.AddNewAuthorAsync(newAuthor); return(Created($"api/author/{author.Id}", new Response <AuthorDto>(author))); }