private bool check()
 {
     BUS.AuthorBUS   auBUS   = new BUS.AuthorBUS();
     BUS.CategoryBUS cateBUS = new BUS.CategoryBUS();
     if (!auBUS.IsAuthorExisted(txtAuthorID.Text))
     {
         MessageBox.Show(this, "The New Book Title is invalid. Please checked it and try again!!!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return(false);
     }
     if (!cateBUS.IsCategoryIDExisted(txtCategoryID.Text))
     {
         MessageBox.Show(this, "The New Book Title is invalid. Please checked it and try again!!!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return(false);
     }
     return(true);
 }