public async Task UpdateAuthor(Author author)
 {
     context.Entry(author).State = EntityState.Modified;
     await context.SaveChangesAsync();
 }
 public async Task InsertAuthor(Author author)
 {
     author.Deleted = false;
     context.Authors.Add(author);
     await context.SaveChangesAsync();
 }