Esempio n. 1
0
        //Display products--Admin//
        public static List <ECEntities> DisplayAllProductBL()
        {
            List <ECEntities> productList = new List <ECEntities>();

            try
            {
                ECDAL ec = new ECDAL();
                productList = ec.DisplayAllDAL();
            }
            catch (ECExceptions ex)
            {
                throw ex;
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(productList);
        }