public ActionResult AccountTransactionsGridActionCore(GridViewModel gridViewModel, int?accountId) { gridViewModel.ProcessCustomBinding( new GridViewCustomBindingGetDataRowCountHandler(args => { FinancialTransactionsCustomBinding.FinancialTransactionsGetDataRowCount(args, CurrentTenantId, CurrentWarehouseId, accountId); }), new GridViewCustomBindingGetDataHandler(args => { FinancialTransactionsCustomBinding.FinancialTransactionsGetData(args, CurrentTenantId, CurrentWarehouseId, accountId); }) ); return(PartialView("_AccountTransactionsGridPartial", gridViewModel)); }