Example #1
0
        public bool UpdateStock(uint id, int stock, string description)
        {
            bool success;

            try
            {
                success = ProductsProvider.UpdateStock(id, stock, description);
            }
            catch
            {
                success = false;
            }
            return(success);
        }