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