public virtual async Task <IdeSettingsState> SaveLCU(LowCodeUnitSetupConfig lcu) { if (!lcu.Lookup.IsNullOrEmpty() && !lcu.NPMPackage.IsNullOrEmpty() && !lcu.PackageVersion.IsNullOrEmpty()) { var ensured = await appDev.EnsureLowCodeUnitView(lcu, details.EnterpriseAPIKey, details.Host); return(await WhenAll( LoadLCUs(), ToggleAddNew(AddNewTypes.None) )); } return(state); }
public virtual async Task SaveLCU(ApplicationDeveloperClient appDev, ApplicationManagerClient appMgr, string entApiKey, string host, LowCodeUnitSetupConfig lcu) { if (!lcu.Lookup.IsNullOrEmpty() && !lcu.NPMPackage.IsNullOrEmpty() && !lcu.PackageVersion.IsNullOrEmpty()) { var ensured = await appDev.EnsureLowCodeUnitView(lcu, entApiKey, host); await LoadLCUs(appMgr, entApiKey); await ToggleAddNew(AddNewTypes.None); } }