public string Updateuser(string address, string nic, string phoneno, string fname, string lname, string vehicleno, string licenceno) { AccessData ad = new AccessData(); return ad.Updateuser(address, nic, phoneno, fname, lname, vehicleno, licenceno); }
public List<DriverStatus> UpdateDriverStatus(string driid, string status, string Latitude, string Longitud) { AccessData ad = new AccessData(); return ad.UpdateDriverStatus(driid, status , Latitude, Longitud); }
public List<RegisterStatus> RegisterCustomer(string phoneno, string email, string fname, string lname, string password) { AccessData ad = new AccessData(); return ad.RegisterCustomer(phoneno, email, fname, lname, password); }
public List<UserLogin> Login(string username, string password) { AccessData ad = new AccessData(); return ad.Login(username, password); }
//public int LoginDriver(string phoneno, string password) //{ // AccessData ad = new AccessData(); // return ad.DriverLogin(phoneno, password); //} public List<VehicleInfo> GetTaxiList() { AccessData ad = new AccessData(); return ad.GetTaxiList(); }
public List<LoginDriver> DriverLogin(string phoneno, string password) { AccessData ad = new AccessData(); return ad.DriverLogin(phoneno, password); }