public static void CreateDirectionsViewModel() { if (_directionsViewModel == null) { _directionsViewModel = new DirectionsViewModel(); } }
public static void ClearDirectionsViewModel() { _directionsViewModel.Cleanup(); _directionsViewModel = null; }