Exemplo n.º 1
0
        public async Task <List <Product> > Get()
        {
            List <Product> data = (from p in offerService.GetAllProducts()
                                   orderby p.Price ascending
                                   select p).Take(3).ToList();

            return(data);
        }