public string GetAllProduct() { ProductOperation productOperation = new ProductOperation(); List <ProductObject> productList = productOperation.GetProduct(); string json = Newtonsoft.Json.JsonConvert.SerializeObject(productList); return(json); }