示例#1
0
        public async Task SaveTaskTest()
        {
            var result = await _taskServices.SendResult(_serviceVisitId, _serviceVisitItemNumber, ThisResult, CheckItems.ToList());

            if (result)
            {
                await Application.Current.MainPage.DisplayAlert("Save successful", "The test result has been successfully saved", "OK");
            }
            else
            {
                await Application.Current.MainPage.DisplayAlert("Save failed", "An error occured when trying to save the test result. Plesae try again", "OK");
            }
        }