private void InitializeStoresList()
        {
            var storesService = new StoresService(ConfigurationManager.AppSettings["ApiUrl"]);
            var stores        = storesService.GetStores();

            StoresDropdown.ItemsSource = stores;
        }
Exemplo n.º 2
0
 public async Task <IActionResult> Index()
 {
     return(View(await _storesService.GetStores()));
 }
Exemplo n.º 3
0
 public IEnumerable <Store> Get()
 {
     return(storesService.GetStores());
 }