예제 #1
0
        async Task ExecuteSaveLeadCommand()
        {
            if (IsBusy)
            {
                return;
            }

            IsBusy = true;

            await _DataManager.SaveAccountAsync(Lead);

            MessagingCenter.Send(Lead, MessagingServiceConstants.SAVE_LEAD);

            IsBusy = false;
        }
예제 #2
0
        async Task ExecuteSaveAccountCommand()
        {
            if (IsBusy)
            {
                return;
            }

            IsBusy = true;


            await _DataManager.SaveAccountAsync(Account);

            MessagingCenter.Send(Account, MessagingServiceConstants.SAVE_ACCOUNT);

            IsBusy = false;

            await Navigation.PopAsync();
        }