public static bool AuthorExists(int id)
 {
     return(AuthorList.Exists(a => a.Id == id));
 }