private async Task GetSuppliers()
 {
     try
     {
         Suppliers = await supplierAPIHelper.GetSuppliers(ParentLayout.LoggedInUser.Token);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error");
     }
 }
Beispiel #2
0
 private async Task GetSuppliers()
 {
     try
     {
         IsProgressing = true;
         Suppliers     = await apiHelper.GetSuppliers(ParentLayout.LoggedInUser.Token);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error");
     }
     finally
     {
         IsProgressing = false;
     }
 }