Example #1
0
        public async Task AcceptUploadExecute()
        {
            IsVisible = true;
            IList <Transaction> transactions = await new Transaction().GetTransactions(SelectedDiary);

            await new ESRInsert().InsertTransactions(transactions);
            SelectedDiary.ConfirmUpload();
            Message = new SnackbarMessageQueue();
            Message.Enqueue($"Document for Diary {SelectedDiary.Number} has been Accepted.");
            UnitDiaries = await UnitDiary.GetUnconfirmedDiaries();

            IsVisible = false;
        }
Example #2
0
        private async void BuildLists()
        {
            IsVisible   = true;
            UnitDiaries = await UnitDiary.GetUnconfirmedDiaries();

            Branches = await UnitDiary.GetBranches();

            diaries   = UnitDiaries;
            IsVisible = false;
        }