public IActionResult Get(string id) { var vehicle = service.Get(id); return(Ok(vehicle)); }
public void Load() { Vehicles = new ObservableCollectionEx <Vehicle>(vehiclesService.Get()); }