public List <Organization> Organizations() { List <Organization> orglist = _giteaApi.GetUserOrganizations().Result; return(orglist == null ? new List <Organization>() : orglist); }
public async Task <List <Organization> > Organizations() { List <Organization> orglist = await _giteaApi.GetUserOrganizations(); return(orglist == null ? new List <Organization>() : orglist); }