private async Task LoadModsets() { var modsetsResult = await _apiModsetClient.GetModsets(); if (modsetsResult.IsFailure) { return; } var modsets = modsetsResult.Value; ModsetOptions = new SelectList(modsets, nameof(WebModset.Name), nameof(WebModset.Name)); }
public async Task <Result <List <IModset> > > GetModsets() { return(await _apiModsetClient.GetModsets() .Bind(MapModsetsData));; }