public string GetConfigsByVehicle(int id) { ACESVehicleOptions configs = new ACESVehicleOptions(); configs = new ACES().getVehicleConfigs(id); return JsonConvert.SerializeObject(configs); }
public string GetConfigs(int BaseVehicleID, int SubmodelID) { ACESVehicleOptions configs = new ACESVehicleOptions(); configs = new ACES().getVehicleConfigs(BaseVehicleID, SubmodelID); return JsonConvert.SerializeObject(configs); }