Exemple #1
0
 private async void Save_Clicked(object sender, EventArgs e)
 {
     if (DoOnce())
     {
         await _vm.SubmitAsync();
     }
 }
        private async void Save_Clicked(object sender, EventArgs e)
        {
            if (DoOnce())
            {
                var submitted = await _vm.SubmitAsync();

                if (submitted)
                {
                    AfterSubmit?.Invoke();
                }
            }
        }