Esempio n. 1
0
 public async Task <IEnumerable <ActiveStoreContract> > GetAllActiveStores()
 {
     return(await apiClient.GetAllActiveStores());
 }
        public async Task <IEnumerable <Store> > GetAllActiveStoresAsync()
        {
            var stores = await client.GetAllActiveStores();

            return(stores.Select(store => store.ToModel()));
        }