public async Task <Option <SetupSuccessfulResult, Error> > ExecuteAsync(SetupArguments arguments) { var folderIdResult = await _cloudStorageService .GetFolderIdFromPathAsync(arguments.RootCollectionFolder); return(folderIdResult .Map(folderId => { _configuration.SetRootCollectionFolder(arguments.RootCollectionFolder); return new SetupSuccessfulResult(); })); }