public static bool deletephong(Phongbject phong) { Phongmodel c = new Phongmodel(); c.Xoaphong(phong); return(true); }
public static bool addphong(Phongbject phong) { Phongmodel b = new Phongmodel(); b.insertphong(phong); return(true); }
public static bool updatephong(Phongbject phong) { Phongmodel c = new Phongmodel(); c.suaphong(phong); return(true); }
public static DataTable getdataphbygiap(int giap) { Phongmodel a = new Phongmodel(); return(a.timphbygiap(giap)); }
public static DataTable getdataphbyttp(string ttp) { Phongmodel a = new Phongmodel(); return(a.timphbyttp(ttp)); }
public static DataTable getdataphbyhangp(string hangp) { Phongmodel a = new Phongmodel(); return(a.timphbyhangp(hangp)); }
public static DataTable getdataphbyloaip(string loaip) { Phongmodel a = new Phongmodel(); return(a.timphbyloaip(loaip)); }
public static DataTable getdatap() { Phongmodel a = new Phongmodel(); return(a.getdatap()); }