private void RemoveBatch(int batchId) { // Remove Batch From List and Reload The Invoice Facade.IInvoiceBatches facInv = new Facade.Invoice(); string userId = ((Entities.CustomPrincipal)Page.User).UserName; bool success = facInv.Delete(batchId, userId); if (success) { LoadGrid(); LoadBatchInvoices(); } }