コード例 #1
0
        /// <summary>
        /// Save edit expense.
        /// </summary>
        /// <param name="sender"></param>
        /// <returns></returns>
        private async Task OnSaveAsync(object sender)
        {
            await _editExpense.SaveAsync();

            await _navigationService.GoBackAsync(useModalNavigation : true);
        }
コード例 #2
0
        /// <summary>
        /// Save edit expense.
        /// </summary>
        /// <param name="sender"></param>
        /// <returns></returns>
        private async Task SaveAsync(object sender)
        {
            await _editExpense.SaveAsync();

            await _navigationService.GoBackAsync();
        }