Пример #1
0
        public ActionResult GetAllProducts()
        {
            var conn         = new ProductsDbContext();
            var productsList = conn.GetProducts();

            return(Ok(productsList));
        }