public async Task<Author> PostAuthor(Author author) { return await repository.insert(author); }
public async Task<Author> PutAuthor(short id, Author author) { return await repository.update(id, author); }