Esempio n. 1
0
        //Update product---Admin//
        public static bool UpdateProductBL(ECEntities product)
        {
            bool updated = false;

            try
            {
                if (Validate(product))
                {
                    ECDAL ed = new ECDAL();
                    updated = ed.UpdateProductDAL(product);
                }
            }
            catch (ECExceptions ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(updated);
        }