async void Delete() { var response = await dialogService.ShowConfirm( "Confirm", "Are you sure to delete this Custom Duty ?"); if (!response) { return; } await CustomDutyViewModel.GetInstance().Delete(this); }
public CustomsDutyPage() { InitializeComponent(); BindingContext = new CustomDutyViewModel(); }