示例#1
0
        // GET api/values/5
        public string Get(int id)
        {
            var dataAccess = new DataAcces();

            var product = dataAccess.GetProductById(1);

            return(product.Name);
        }