public Task InitializeAsync(FileTagEditViewModel context) { return(Task.Run( () => { Save = new ViewModelCommand( "Save", new RelayCommand( async() => { await _fileTagDataService.SaveAsync(context.FileTag); await _navigationservice.NavigateToAsync <FileTagsOverviewViewModel>(); })); Cancel = new ViewModelCommand( "Cancel", new RelayCommand( async() => { await _navigationservice.NavigateToAsync <FileTagsOverviewViewModel>(); })); })); }