예제 #1
0
        public async Task <List <OperatorItem> > LoadOperators(CountryItem selected)
        {
            Operators operD = await communication.GetOperators(config.DefaultOperatorUri(selected.CountryCodeLong, selected.LanguageCode, "XONE"));

            Operators operO = await communication.GetOperators(config.ListOperatorsUri(selected.CountryCodeShort, selected.LanguageCode, "XONE"));

            List <OperatorItem> result = operD.Items;

            result.AddRange(operO.Items);
            return(result);
        }