public VehcielModel GetVehicleData(string lang, int userId) { //OperationResult or; try { var data = new VehicelBl().GetVehicleData(userId, lang); return(data); } catch (Exception ex) { throw ex; } }
public OperationResult GetVehicleCategoryType(string lang) { OperationResult or; try { or = new VehicelBl().GetVehicleCategoryType(lang); } catch (Exception ex) { throw ex; } return(or); }
public OperationResult GetAllVehicleCategory() { OperationResult or; try { or = new VehicelBl().GetAllVehicleCategory(); } catch (Exception ex) { throw ex; } return(or); }
public OperationResult UpdateVehicleData(VehcielModel vehciel) { OperationResult or; try { or = new VehicelBl().UpdateVehicleData(vehciel); } catch (Exception ex) { throw ex; } return(or); }
public OperationResult InsertVehicleData(InsertVehcielModel model) { OperationResult or; try { or = new VehicelBl().InsertNewVehicle(model); } catch (Exception ex) { throw ex; } return(or); }
public OperationResult GetNearstDriver(double Picklat, double PickLon, int VsubCategory, double dropofflat, double dropoffLon) { OperationResult or; try { or = new VehicelBl().GetNearstDriver(Picklat, PickLon, VsubCategory, dropofflat, dropoffLon); } catch (Exception ex) { throw ex; } return(or); }