Пример #1
0
        public async void SubmitArea()
        {
            IsSubmitEnabled = false;
            try
            {
                await Task.Run(() => _SubmissionService.SubmitTotalArea(TotalArea));

                _UserInteraction.Alert("Submit successful.", "Submit successful");
            }
            catch (Exception ex)
            {
                _UserInteraction.Alert(ex.Message, "Submit error");
            }
            finally
            {
                IsSubmitEnabled = true;
            }
        }