public IEnumerable <Products> GetProducts()
        {
            try
            {
                IEnumerable <Products> _Products = iProductsDAO.GetProducts();

                return(_Products);
            }
            catch (Exception e)
            {
                throw new Exception();
            }
        }
Exemple #2
0
 public IList <Products> GetProducts()
 {
     return(_dao.GetProducts());
 }