Beispiel #1
0
        public List <DiaDiem> getAllLocations()
        {
            QuanLyXeKhachEntities dataLocation = new QuanLyXeKhachEntities();
            var list = dataLocation.DiaDiems.ToList();

            return(list);
        }
Beispiel #2
0
        public List <ThongTinChuyenDi> getAllThongTin()
        {
            QuanLyXeKhachEntities dataInfo = new QuanLyXeKhachEntities();
            var list = dataInfo.ThongTinChuyenDis.ToList();

            return(list);
        }
Beispiel #3
0
        public List <HuongDanVien> getAllTourGuild()
        {
            QuanLyXeKhachEntities dataTourGuild = new QuanLyXeKhachEntities();
            var list = dataTourGuild.HuongDanViens.ToList();

            return(list);
        }
Beispiel #4
0
        public List <TaiXe> getAllDriver()
        {
            QuanLyXeKhachEntities dataDriver = new QuanLyXeKhachEntities();
            var list = dataDriver.TaiXes.ToList();

            return(list);
        }
Beispiel #5
0
        public List <PhieuVe> getAllTicket()
        {
            QuanLyXeKhachEntities dataTicket = new QuanLyXeKhachEntities();
            var list = dataTicket.PhieuVes.ToList();

            return(list);
        }
Beispiel #6
0
        public List <XeKhach> getAllvehicle()
        {
            QuanLyXeKhachEntities dataVeh = new QuanLyXeKhachEntities();
            var list = dataVeh.XeKhaches.ToList();

            return(list);
        }
Beispiel #7
0
        public List <KhachHang> getAllCustomer()
        {
            QuanLyXeKhachEntities dataCus = new QuanLyXeKhachEntities();
            var list = dataCus.KhachHangs.ToList();

            return(list);
        }
Beispiel #8
0
        public List <NhanVien> getAllEmp()
        {
            QuanLyXeKhachEntities dataNV = new QuanLyXeKhachEntities();
            var list = dataNV.NhanViens.ToList();

            return(list);
        }
Beispiel #9
0
        public List <TaiKhoan> getAllAcc()
        {
            QuanLyXeKhachEntities data = new QuanLyXeKhachEntities();
            var list = data.TaiKhoans.ToList();

            return(list);
        }