コード例 #1
0
 public static bool themchitietphieunhap(PhieuNhapDTO p)
 {
     if (PhieuNhapDAO.GetPhieuNhapByName(p.MaPhieuNhap, p.MaSach) == null)
     {
         PhieuNhapDAO.Insert(p);
         return(true);
     }
     else
     {
         return(false);
     }
 }
コード例 #2
0
 public static bool themphieunhap(PhieuNhapDTO p)
 {
     PhieuNhapDAO.Insertphieunhap(p);
     return(true);
 }