public static List <SanBay> SearchTenSB(string tenSB) { List <SanBay> sanBays = DAL_SanBay.SearchTenSB(tenSB); if (sanBays == null) { return(new List <SanBay>()); } else { return(sanBays); } }
public static List <SanBay> GetSanBaysExcept(TuyenBay tb) { List <SanBay> sanBays = DAL_SanBay.GetSanBaysExcept(tb); if (sanBays == null) { return(new List <SanBay>()); } else { return(sanBays); } }
public static List <SanBay> GetSanBays() { List <SanBay> sanBays = DAL_SanBay.GetSanBays(); if (sanBays == null) { return(new List <SanBay>()); } else { return(sanBays); } }
public static bool UpdateSanBay(SanBay sb) { return(DAL_SanBay.UpdateSanBay(sb)); }
public static bool InsertSanBay(SanBay sanBay) { return(DAL_SanBay.InsertSanBay(sanBay)); }
public static SanBay GetSanBay(int maSB) { return(DAL_SanBay.GetSanBay(maSB)); }