private async void OnDelete(object obj) { if (IsBusy) { return; } IsBusy = true; try { // Thuc hien cong viec tai day var canDelete = await DisplayDeleteAlertAsync(); if (canDelete) { var itemLogic = new ItemLogic(_dbContext); await itemLogic.DeleteAsync(ItemBindProp.Id); ItemBindProp.Status = Status.Deleted; var param = new NavigationParameters(); param.Add(Keys.ITEM, ItemBindProp); await NavigationService.GoBackAsync(param); } } catch (Exception e) { await ShowError(e); } finally { IsBusy = false; } }