Example #1
0
 public DataTable LayMaPhieuTra()
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.LayMaPhieuTra());
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }
Example #2
0
 public int CapNhatTinhTrangSach(string MaSach)
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.CapNhatTinhTrangSach(MaSach));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }
Example #3
0
 public int ThemChiTietPhieuTra(CT_PhieuTraDTO CTPT)
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.ThemChiTietPhieuTra(CTPT));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }
Example #4
0
 public int ThemPhieuTra(PhieuTraDTO PT)
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.ThemPhieuTra(PT));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }
Example #5
0
 public DataTable KiemTraSachCoTrongPhieuMuon(string MaDG, string MaSach)
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.KiemTraSachCoTrongPhieuMuon(MaDG, MaSach));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }
Example #6
0
 public DataTable KiemTraDocGiaCoPhieuMuon(string MaDG)
 {
     try
     {
         QuanLyPhieuTraDAO DAO = new QuanLyPhieuTraDAO();
         return(DAO.KiemTraDocGiaCoPhieuMuon(MaDG));
     }
     catch (SqlException ex)
     {
         throw ex;
     }
 }