Exemplo n.º 1
0
        public int BookDelete(int id, string name, string cbs, decimal prices, int store)
        {
            int     count   = 0;
            BookDAL bookdal = new BookDAL();

            count = bookdal.BookDeleteByinformation(id, name, cbs, prices, store);
            return(count);
        }
 public void BookDeleteByinformationTest()
 {
     Assert.AreEqual(1, bookDAL.BookDeleteByinformation(65555, "看见", "柴静", 45, 12));
 }