Beispiel #1
0
        public List <Product> AllProducts()
        {
            List <Product> suppliers = new List <Product>();

            try
            {
                suppliers = _repository.AllProducts();
            }

            catch (Exception ex)
            {
                throw;
            }

            return(suppliers);
        }