public bool DeleteInvoiceBLL(int InvoiceNo) { bool isDeleted = false; try { operationsObj = new InvoiceDAL(); isDeleted = operationsObj.DeleteInvoiceDAL(InvoiceNo); if (!isDeleted) { throw new InvoiceException("Invoice Could not be deleted"); } } catch (InvoiceException ex) { throw ex; } return(isDeleted); }