Пример #1
0
        public int executeSalesDatails()
        {
            int affectedLines = 0;

            try
            {
                affectedLines = handleDatabase.executeSalesDetails(dt);
                handleDatabase.updateSalesStockDetails(dt, sale);
            }
            catch (SqlException sqlException)
            {
                Console.WriteLine(sqlException);
            }
            return(affectedLines);
        }