public static bool themchitietphieunhap(PhieuNhapDTO p) { if (PhieuNhapDAO.GetPhieuNhapByName(p.MaPhieuNhap, p.MaSach) == null) { PhieuNhapDAO.Insert(p); return(true); } else { return(false); } }
public static bool themphieunhap(PhieuNhapDTO p) { PhieuNhapDAO.Insertphieunhap(p); return(true); }