Ejemplo n.º 1
0
        public bool Update_Status_Invoice(int status, string invoiceID)
        {
            if (dbContext == null)
            {
                dbContext = new FoodDeliveryEntities();
            }
            bool isUpdate = false;
            int  update   = dbContext.UPDATE_STATUS_INVOICE(status, invoiceID);

            if (update > 0)
            {
                isUpdate = true;
            }
            return(isUpdate);
        }