예제 #1
0
        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);
        }