Ejemplo n.º 1
0
 public static int InsertCTPX(string _maPX, string _maVT, int _soLuong, float _donGia)
 {
     try
     {
         Models.PhieuXuatMod phieuXuat = new Models.PhieuXuatMod(_maPX, _maVT, _soLuong, _donGia);
         return(phieuXuat.InsertCTPX());
     }
     catch
     {
         return(1);
     }
 }
Ejemplo n.º 2
0
 public static int DeletePhieuXuat(string _maPX)
 {
     try
     {
         Models.PhieuXuatMod phieuXuat = new Models.PhieuXuatMod(_maPX);
         return(phieuXuat.DeletePhieuXuat());
     }
     catch
     {
         return(1);
     }
 }
Ejemplo n.º 3
0
 public static int InsertPhieuXuat(string _maPX, string _maKho, int _maNV, string _tenKH)
 {
     try
     {
         Models.PhieuXuatMod phieuXuat = new Models.PhieuXuatMod(_maPX, _maKho, _maNV, _tenKH);
         return(phieuXuat.InsertPhieuXuat());
     }
     catch
     {
         return(1);
     }
 }