private async Task Initialize()
        {
            PageTitle = "New Order - Summary";
            var orderList = await stocklistService.GetOrderList();

            OrderList  = null;
            OrderList  = new ObservableCollection <Order>(orderList);
            TotalPrice = stocklistService.CalculateTotalPrice();
        }
Esempio n. 2
0
        private async Task Initialize()
        {
            PageTitle = "New Order - Products";
            var products = await stocklistService.GetProductListById(currentSubCategory.Id);

            Products = null;
            Products = new ObservableCollection <Product>(products);
            var orderList = await stocklistService.GetOrderList();

            OrderList = null;
            OrderList = new ObservableCollection <Order>(orderList);
        }