Esempio n. 1
0
        public void testTimDHCT()
        {
            List <DonHangDTO> kq = donhangDAO.GetDonHangWK("HD00");

            Assert.AreEqual(0, kq.Count);

            kq = donhangDAO.GetDonHangWK("HD02");
            Assert.AreEqual(1, kq.Count);
        }
Esempio n. 2
0
 public List <DonHangDTO> GetDonHangWK(string MaHD)
 {
     try
     {
         return(donhangDAO.GetDonHangWK(MaHD));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }