コード例 #1
0
        /// <summary>
        /// Hàm xóa hóa đơn
        /// </summary>
        /// <param name="invoiceID">Id hóa đơn</param>
        /// <returns>Trạng thái xóa</returns>
        /// Người tạo: ntxuan (20/6/2019)
        public int DeleteInvoice(Guid invoiceID)
        {
            var invoiceId = Common.ConvertToNvarchar(invoiceID);

            return(invoiceDL.DeleteInvoice(invoiceId));
        }
コード例 #2
0
ファイル: InvoiceBL.cs プロジェクト: ngavuong/ruscoffee
        public void DeleteInvoice(Guid id)
        {
            InvoiceDL invoiceDL = new InvoiceDL();

            invoiceDL.DeleteInvoice(id);
        }