public MainPageViewModel(GetCurrentUserOrders getCurrentUserOrders)
 {
     Title  = "Orders Main Page";
     Orders = new ObservableCollection <Order>();
     _getCurrentUserOrders = getCurrentUserOrders;
     LoadOrders();
 }
 public MainPageViewModel(INavigationService navigationService, GetCurrentUserOrders getCurrentUserOrders)
     : base(navigationService)
 {
     _getCurrentUserOrders = getCurrentUserOrders;
     Title  = "Orders Main Page";
     Orders = new ObservableCollection <Order>();
     LoadOrders();
 }
Exemple #3
0
 public OrdersListPageViewModel(GetCurrentUserOrders getCurrentUserOrders)
 {
     _getCurrentUserOrders = getCurrentUserOrders;
     Orders = new ObservableCollection <Order>();
     LoadOrders();
 }