public void LoadAllPaymentInfos() { Data.Repository respository = new Data.Repository(); try { ObservableCollection<PaymentInfo> paymentInfos = respository.GetAllPaymentInfos(); } catch (Exception ex) { throw ex; } try { this.PaymentInfos = paymentInfos.ToViewModels(); } catch (Exception ex) { throw ex; } }