Beispiel #1
0
        public static List <SanBay> SearchTenSB(string tenSB)
        {
            List <SanBay> sanBays = DAL_SanBay.SearchTenSB(tenSB);

            if (sanBays == null)
            {
                return(new List <SanBay>());
            }
            else
            {
                return(sanBays);
            }
        }
Beispiel #2
0
        public static List <SanBay> GetSanBaysExcept(TuyenBay tb)
        {
            List <SanBay> sanBays = DAL_SanBay.GetSanBaysExcept(tb);

            if (sanBays == null)
            {
                return(new List <SanBay>());
            }
            else
            {
                return(sanBays);
            }
        }
Beispiel #3
0
        public static List <SanBay> GetSanBays()
        {
            List <SanBay> sanBays = DAL_SanBay.GetSanBays();

            if (sanBays == null)
            {
                return(new List <SanBay>());
            }
            else
            {
                return(sanBays);
            }
        }
Beispiel #4
0
 public static bool UpdateSanBay(SanBay sb)
 {
     return(DAL_SanBay.UpdateSanBay(sb));
 }
Beispiel #5
0
 public static bool InsertSanBay(SanBay sanBay)
 {
     return(DAL_SanBay.InsertSanBay(sanBay));
 }
Beispiel #6
0
 public static SanBay GetSanBay(int maSB)
 {
     return(DAL_SanBay.GetSanBay(maSB));
 }