Пример #1
0
        /// <summary>
        ///     This will reload all Data for the repositories and set the Selected Property to null.
        ///     After this it checks if there are payments to cleare and if so will clear them.
        /// </summary>
        public void ReloadData()
        {
            //Load Data
            accountRepository.Load();

            paymentRepository.Load();

            categoryRepository.Load();

            //check if there are payments to clear
            paymentManager.ClearPayments();
        }
        /// <summary>
        ///     This will reload all Data for the repositories and set the Selected Property to null.
        ///     After this it checks if there are PaymentViewModels to cleare and if so will clear them.
        /// </summary>
        public void ReloadData()
        {
            //Load Data
            accountRepository.Load();
            accountRepository.Selected = null;

            paymentRepository.Load();
            paymentRepository.Selected = null;

            categoryRepository.Load();
            categoryRepository.Selected = null;

            //check if there are PaymentViewModels to clear
            paymentManager.ClearPayments();
        }
Пример #3
0
 private void ClearPayments()
 {
     paymentManager.ClearPayments();
 }