public int Update() { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.Update()); }
public int Insert() { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.Insert()); }
public bool Delete() { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.Delete()); }
public DataTable GetGrid(int pageIndex, int pageSize, out int recordCount) { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.GetGrid(pageIndex, pageSize, out recordCount)); }
public DataTable ViewAll() { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.SelectAll()); }
public DataTable SelectOne() { objVehicle_DAL = new Vehicle_DAL(property); return(objVehicle_DAL.SelectOne()); }