Exemplo n.º 1
0
        private async Task SaveItem()
        {
            IsBusy = true;
            MessagingCenter.Send(this, MessageKeys.AddProduct, Model);
            await _productsService.AddCatalogAsync(Model);

            await NavigationService.NavigateToAsync <MainViewModel>();

            await NavigationService.RemoveBackStackAsync();

            IsBusy = false;
        }