public static int AddBook(BookInfo bookInfo)
{
using (BookDBContext dbContext = new BookDBContext())
{
dbContext.BookInfo.Add(bookInfo);
return (dbContext.SaveChanges());
}
}