Example #1
0
        public async void Save()
        {
            if (IsEdit)
            {
                await TransactionLogic.UpdateTransaction(_transactionRepository.Selected);
            }
            else
            {
                await TransactionLogic.SaveTransaction(_transactionRepository.Selected, RefreshRealtedList);
            }

            ((Frame)Window.Current.Content).GoBack();
        }