async void Delete() { var response = await dialogService.ShowConfirm( "Confirm", Languages.ConfirmationDelete + " Report ?"); if (!response) { return; } await ReportCatalogViewModel.GetInstance().Delete(this); }
public ReportCatalogPage() { InitializeComponent(); BindingContext = new ReportCatalogViewModel(); // NavigationPage.SetHasNavigationBar(this, false); // Hide nav bar }
public void Setup() { _reportCatalogViewModelService = new FakeReportCatalogViewModelService(); _catalog = new ReportCatalogViewModel(_reportCatalogViewModelService.Object); }