Exemple #1
0
        public static List <ChuyenBay> SearchTenSBDen(string tenSB)
        {
            var chuyenBays = DAL_ChuyenBay.SearchTenSBDen(tenSB);

            if (chuyenBays == null)
            {
                return(new List <ChuyenBay>());
            }
            return(chuyenBays);
        }
Exemple #2
0
        public static List <ChuyenBay> SearchMaCB(string maCB)
        {
            var chuyenBays = DAL_ChuyenBay.SearchMaCB(maCB);

            if (chuyenBays == null)
            {
                return(new List <ChuyenBay>());
            }
            return(chuyenBays);
        }
Exemple #3
0
        public static List <ChuyenBay> GetChuyenBays()
        {
            var chuyenBays = DAL_ChuyenBay.GetChuyenBays();

            if (chuyenBays == null)
            {
                return(new List <ChuyenBay>());
            }
            return(chuyenBays);
        }
Exemple #4
0
 public static bool CheckGhe(int maCB)
 {
     return(DAL_ChuyenBay.CheckGhe(maCB));
 }
Exemple #5
0
 public static int GetLastMaCB()
 {
     return(DAL_ChuyenBay.GetLastMaCB());
 }
Exemple #6
0
 public static bool UpdateChuyenBay(ChuyenBay chuyenBay)
 {
     return(DAL_ChuyenBay.UpdateChuyenBay(chuyenBay));
 }
Exemple #7
0
 public static bool InsertChuyenBay(ChuyenBay chuyenBay)
 {
     return(DAL_ChuyenBay.InsertChuyenBay(chuyenBay));
 }