示例#1
0
        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);
        }