private EditLogViewModel(BatNodeLog batLog)
        {
            BatLog = batLog;

            SaveCommand       = new RelayCommand(async() => await SaveAction());
            CancelCommand     = new RelayCommand(GoBack);
            UpdateDataCommand = new RelayCommand(async() => await RebuildData());

            StartDate = new DateTimeOffset(BatLog.LogStart.Date);
            StartTime = batLog.LogStart.TimeOfDay;

            CallDetailsPivotModel = new CallDetailsPivotModel(this);
            Location = new Wgs84Location(BatLog.Longitude, BatLog.Latitude);
        }
 protected override async Task InitializeInternal()
 {
     await CallDetailsPivotModel.Initialize();
 }
 public EditLogViewModel() : this(DesignData.CreateBatLog())
 {
     CallDetailsPivotModel.Initialize().Wait();
 }