예제 #1
0
        /// <summary>
        /// Get all product
        /// </summary>
        /// <returns></returns>
        public Task <IEnumerable <Product> > GetAllProduct()
        {
            //Do code here

            Task <IEnumerable <Product> > all_product = _groceryRepository.GetAllProduct();

            return(all_product);
            //throw new NotImplementedException();
        }
예제 #2
0
        /// <summary>
        /// Get all product
        /// </summary>
        /// <returns></returns>
        public Task <IEnumerable <Product> > GetAllProduct()
        {
            var result = _groceryRepository.GetAllProduct();

            return(result);
        }