コード例 #1
0
        public void LoadAllPaymentInfoAudits()
        {
            Data.Repository respository = new Data.Repository();

            try
            {
                ObservableCollection<PaymentInfoAudit> paymentInfoAudits = respository.GetAllPaymentInfoAudits();
            }
            catch (Exception ex)
            {
                throw ex;
            }

            try
            {
                this.PaymentInfoAudits = paymentInfoAudits.ToViewModels();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }