private async void AddDataObjectSync() { var dialog = new AddDataObjectViewModel(); dialog.ShowDialog(); if (dialog.WasSuccess != true) { return; } var request = dialog.Request; request.ProjectId = ProjectId; request.CollectionId = CollectionId; request.Folder = FolderName; await _syncServer.DataObjects.New(request); }
private async void AddDataObjectSync() { var dialog = new AddDataObjectViewModel(); dialog.ShowDialog(); if (dialog.WasSuccess != true) return; var request = dialog.Request; request.ProjectId = ProjectId; request.CollectionId = CollectionId; request.Folder = FolderName; await _syncServer.DataObjects.New(request); }