Beispiel #1
0
 private void KegsHeldCommandReciever()
 {
     try
     {
         InitialSetting();
         PartnerCollection = new ObservableCollection <PossessorResponseModel>(AllPartners.OrderByDescending(x => x.KegsHeld));
     }
     catch (Exception ex)
     {
         Crashes.TrackError(ex);
     }
 }
Beispiel #2
0
        private void LoadPartners()
        {
            var RealmDb = Realm.GetInstance(RealmDbManager.GetRealmDbConfig());

            AllPartners = RealmDb.All <PossessorResponseModel>().ToList();
            try
            {
                if (AllPartners.Count > 0)
                {
                    PartnerCollection = new ObservableCollection <PossessorResponseModel>(AllPartners.OrderByDescending(x => x.KegsHeld));
                }
            }
            catch (Exception ex)
            {
                Crashes.TrackError(ex);
            }
        }