protected async System.Threading.Tasks.Task GridDeleteButtonClick(MouseEventArgs args, dynamic data) { try { var dbAtVdc2DeleteTblGnDepartmentResult = await DbAtVdc2.DeleteTblGnDepartment($"{data.Department_ID}"); if (dbAtVdc2DeleteTblGnDepartmentResult != null) { grid0.Reload(); } } catch (Exception dbAtVdc2DeleteTblGnDepartmentException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to delete TblGnDepartment"); } }